Description Usage Arguments Value Examples
View source: R/find_text_string.R
Scans all files in specified folder for textSnippet
1 | find_textstring(textSnippet, folder, fileType)
|
textSnippet |
Character string. A snippet of text |
folder |
Character string. Folder to search. (Full path required) |
fileType |
Character String. File type extension. eg ("R","Rmd","txt") |
Character vector. Names of the files that contain the text
1 2 3 4 5 6 7 8 9 | ## Not run:
#search all R files in the project root for the string "parameter"
find_text_string("parameter", here::here(),"R")
# search all Rmd files in the vignettes folder for the string "help"
find_text_string("help", here::here("vignettes"),"Rmd")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.