.parseModulePartial {SpaDES.core} | R Documentation |
Parse and initialize a module
Description
Internal function, used during simInit()
.
Usage
.parseModulePartial(sim, modules, filename, defineModuleElement, envir = NULL)
## S4 method for signature 'missing,missing,character,character'
.parseModulePartial(filename, defineModuleElement, envir)
## S4 method for signature 'simList,list,missing,character'
.parseModulePartial(sim, modules, defineModuleElement, envir = NULL)
.parseModule(
sim,
modules,
userSuppliedObjNames = NULL,
envir = NULL,
notOlderThan,
...
)
## S4 method for signature 'simList,list'
.parseModule(
sim,
modules,
userSuppliedObjNames = NULL,
envir = NULL,
notOlderThan,
...
)
Arguments
sim |
A |
modules |
A list of modules with a logical attribute "parsed". |
filename |
The filename of the module to be parsed. |
defineModuleElement |
Character string indicating which of the list
elements in |
envir |
Optional environment in which to store parsed code. This may be
useful if the same file is being parsed multiple times. This
function will check in that environment for the parsed file before
parsing again. If the |
userSuppliedObjNames |
Character string (or |
notOlderThan |
Passed to |
... |
All |
Value
.parseModulePartial
extracts just the individual element
requested from the module. This can be useful if parsing the whole module
would cause an error.
A simList
simulation object.
Author(s)
Eliot McIntire
Alex Chubaty and Eliot McIntire