Skip to contents

Function to search for a pattern in R scripts.

Usage

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

Arguments

pattern

Pattern to search on

path

de folder waar gezocht moet worden, default working directory

case.sensitive

Whether pattern is case sensitve or ntot

comments

whether to search in commented lines

Value

dataframe met R script paths

Examples

if (FALSE) { # \dontrun{
find_pattern_r(pattern = "DUO_", path = "05. Rapporten/")
find_pattern_r("DUO_", c("05. Rapporten/", "02. Manipuleren/"))
} # }