This can be used e.g., for Caching, to identify which files have changed.
moduleCodeFiles(paths, modules)
character vector of file paths.
An optional named list with up to 4 named elements,
modulePath
, inputPath
, outputPath
, and cachePath
.
See details. NOTE: Experimental feature now allows for multiple modulePath
s
to be specified in a character vector. The modules will be searched for sequentially
in the first modulePath
, then if it doesn't find it, in the second etc.
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 modulePath(simList)
(see below).