getFilePaths function

Internal interpretation of file specification options

Internal interpretation of file specification options

getFilePaths(files = NULL, file.pattern = NULL, dir = NULL, quiet)

Arguments

  • files: character vector of full file paths. Specify either files or both file.pattern and dir.
  • file.pattern: A regular expression to look for in dir. If used, dir must also be supplied.
  • dir: The directory i which to look for file.pattern. dir is passed to list.files as pattern. If supplied, file.pattern must also be supplied.
  • quiet: The default is not to be quiet.

Returns

A character vector of full paths to files

  • Maintainer: Philip Delff
  • License: MIT + file LICENSE
  • Last published: 2025-03-21