count_selected_comments: Count selected comments in files.

View source: R/count_selected_comments.R

count_selected_commentsR Documentation

Count selected comments in files.

Description

Count selected comments in files.

Usage

count_selected_comments(files, label = "")

Arguments

files

Character vector of files to parse.

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.


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