write_files_after_deleting_selected_comments: Write files after deleting selected comments.

View source: R/write_files_after_deleting_selected_comments.R

write_files_after_deleting_selected_commentsR Documentation

Write files after deleting selected comments.

Description

Write files after deleting selected comments.

Usage

write_files_after_deleting_selected_comments(
  files,
  new_path,
  label = "",
  isolated = TRUE,
  overwrite = FALSE
)

Arguments

files

Character vector of files to parse.

new_path

Character vector of length one indicating the directory newly created files are to be placed.

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.

overwrite

logical; should existing destination files be overwritten?


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