Description Usage Arguments See Also Examples
Search for files matching raw text search
1 | search_raw(files, text, search_title = TRUE, search_contents = TRUE)
|
files |
vector string of file names/paths |
text |
string (can be regex) to search for |
search_title |
logical (default=TRUE). should matching occur in title |
search_contents |
logical (default=TRUE). should matching occur in file contents |
ls_scripts
, ls_code_library
, stage
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
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\\(")
## bring file(s) into staging area of project
ls_scripts("Scripts") %>% search_raw("AUC\\(") %>% stage()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.