Find the full file names of files in modules
module_file(..., module = parent.frame(), mustWork = FALSE)
character vectors of files or subdirectories inside a module; if none is given, return the root directory of the module
a module environment (default: current module)
logical; if TRUE
, an error is raised if the given
files do not match existing files.
A character vector containing the absolute paths to the files
specified in ...
, or an empty string, ''
, if no file was
found (unless mustWork = TRUE
was specified).
base::system.file