Helper function to explore the number of files in a directory, recursively.
Arguments
- project_dir
Character. Directory where project files are stored. File paths will be used to extract information and must actually exist.
- subset
Character. Text pattern to mark a subset of files/directories to either
"keep"
or"omit"
(seesubset_type
)- subset_type
Character. Either
keep
(default) oromit
files/directories which match the pattern insubset
.