powered by
This function filters files in a folder based on the provided filter.
files_filter(folder.path, filter.by, full.names = TRUE)
character vector. Filtered files
character. Path of the folder to be filtered
character. Filter to be applied on the files
logical. Whether to return full file names or not
# Gives path to files/folders with "tests" in the name in the # working directory files_filter(getwd(),"tests")
Run the code above in your browser using DataLab