Function to search for a pattern in R scripts.

find_pattern_r(pattern, path = ".", case.sensitive = TRUE, comments = FALSE)

Arguments

pattern

Pattern to search

path

Directory to search in

case.sensitive

Whether pattern is case sensitive or not

comments

whether to search in commented lines

Value

Dataframe containing R script paths