ls_scripts("Scripts") %>% search_raw("AUC") ## finds all scripts containing string "AUC"
## regex match find instances of AUC() function being used
ls_scripts("Scripts") %>% search_raw("AUC\\(")
## requires NMproject directory structure to operate in
if (FALSE) {
## bring file(s) into project
ls_scripts("/path/to/other/analysis/scripts/dir") %>%
search_raw("AUC\\(") %>%
import()
}
Run the code above in your browser using DataLab