Nested list of file-names or objects
Usage
rev_list_files(
path,
search.pattern = "",
fun.pattern = search.pattern,
fun = NULL,
...
)
Arguments
- path
path to the directory to search
- search.pattern
(character) search regex
pattern
- fun.pattern
(character) regex
pattern for files to apply function fun
- fun
function to apply to the selected files
- ...
further arguments to fun
Value
a named list with paths to found files or with results of applied fun
to the found files that meet fun.pattern
criteria.