flatten_filelist {sketch} | R Documentation |
Flatten a list of files and directories into a list of files
Description
Flatten a list of files and directories into a list of files
Usage
flatten_filelist(fs, pattern = NULL, ...)
Arguments
fs |
A character vector; a list of files. |
pattern |
An optional regular expression to pass to 'list.files' for filtering files while expanding a directory into a list of files. |
... |
Additional parameters to pass to 'list.files'. |
Examples
modules_dir <- system.file("modules", package = "sketch")
flatten_filelist(modules_dir)
[Package sketch version 1.1.20.3 Index]