| files_filter | R Documentation |
This function filters files in a folder based on the provided filter.
files_filter(folder.path, filter.by, full.names = TRUE)
folder.path |
character. Path of the folder to be filtered |
filter.by |
character. Filter to be applied on the files |
full.names |
logical. Whether to return full file names or not |
character vector. Filtered files
# Gives path to files/folders with "tests" in the name in the
# working directory
files_filter(getwd(),"tests")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.