Validate file pathsSource:
Helper function to return a set of file paths for use in other functions
character vector of either:
path(s) to the data file(s).
single path to directory containing data file(s). Currently only tabular
.tsvfiles are supported. Alternatively attributes returned using
names()can be extracted from r object, stored as
parameters passed to
list.files(). For example, use
recursive = TRUEto list files in a folder recursively or use
patternto filter files for patterns.