delete_selected_comments_from_lines: Delete selected comments from lines.

View source: R/delete_selected_comments_from_lines.R

delete_selected_comments_from_linesR Documentation

Delete selected comments from lines.

Description

Delete selected comments from lines.

Usage

delete_selected_comments_from_lines(lines, label = "", isolated = TRUE)

Arguments

lines

Character vector of lines to examine.

label

Optional regex expression that can be used to limit the comments found by adding each element of the character vector in turn immediately after "<!–" in the regex expression. The resulting logical vectors are OR'd together to combine their results.

isolated

Logical value indicating that the comment is the first text to appear on the line.


rmsharp/rmsutilityr documentation built on Feb. 13, 2024, 6:01 p.m.