moduleCodeFiles {SpaDES.core} | R Documentation |
Extract the full file paths for R source code
Description
This can be used e.g., for Caching, to identify which files have changed.
Usage
moduleCodeFiles(paths, modules)
Arguments
paths |
An optional named list with up to 4 named elements,
|
modules |
A named list of character strings specifying the names of modules to be loaded
for the simulation.
Note: the module name should correspond to the R source file from which the module is loaded.
Example: a module named "caribou" will be sourced form the file ‘caribou.R’,
located at the specified |
Value
character vector of file paths.