Get module or simulation package dependencies
packages(sim, modules, paths, filenames, envir, clean = FALSE, ...)
# S4 method for ANY
packages(sim, modules, paths, filenames, envir, clean = FALSE, ...)
A simList
object.
Character vector, specifying the name or vector of names of module(s)
Character vector, specifying the name or
vector of names of paths(s) for those modules. If path not specified,
it will be taken from getOption("spades.modulePath"), which is set
with setPaths
)
Character vector specifying filenames of modules (i.e.
combined path & module. If this is specified, then modules
and
path
are ignored.
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 envir for the parsed file before
parsing again. If the envir
is transient, then this will
have no effect.
Optional logical. If TRUE
, it will scrub any references to
github repositories, e.g., "PredictiveEcology/reproducible" will be
returned as "reproducible"
All simInit
parameters.
A sorted character vector of package names.
Other functions to access elements of a 'simList' object:
.addDepends()
,
doEvent.checkpoint()
,
envir()
,
events()
,
globals()
,
inputs()
,
modules()
,
objs()
,
params()
,
paths()
,
progressInterval()
,
times()