powered by
ls_scripts(folder = ".", extn = "r|R|Rmd|rmd", recursive = TRUE)
Character vector of matched file paths.
String describing folder to search recursively in.
Character (can be regex) giving extension to limit search to.
Logical (default = TRUE). Should directories be searched recursively.
TRUE
## find all scripts with the string "AUC(" ls_scripts("~/path/to/analysis/Scripts") %>% search_raw("AUC\\(")
Run the code above in your browser using DataLab