Internal function.
Adds a .moduleDeps object to the simulation dependency list.
.addDepends(sim, x)# S4 method for simList,.moduleDeps
.addDepends(sim, x)
A simList object from which to extract element(s) or
in which to replace element(s).
A named list containing the parameters used to construct a new
.moduleDeps object.
A simList object.
Other functions to access elements of a simList object: doEvent.checkpoint,
envir, events,
globals, inputs,
modules, objs,
packages, params,
paths, progressInterval,
times