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, ...)
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
Character vector specifying filenames of modules (i.e.
combined path & module. If this is specified, then
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"
A sorted character vector of package names.