View source: R/utility_functions.r
get_files_of_type | R Documentation |
Get filepaths of given type, possibly recursively
get_files_of_type(ftype = "[.]Rmd|qmd$", indir, depth = 1)
get_rmd_qmd(ftype = "[.]Rmd|qmd$", indir, depth = 1)
ftype |
Filetype regexp, defaults to '.Rmd|qmd$' |
indir |
Directory to begin search in |
depth |
Recursion depth, defaults to 1 (ie inside subfolders) |
Vector of file paths
## Not run:
if(interactive()){
#EXAMPLE1
}
## End(Not run)
## Not run:
if(interactive()){
get_rmd_qmd()
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.