Internal function. Adds a .moduleDeps object to the simulation dependency list.

.addDepends(sim, x)

# S4 method for simList,.moduleDeps
.addDepends(sim, x)

Arguments

sim

A simList object from which to extract element(s) or in which to replace element(s).

x

A named list containing the parameters used to construct a new .moduleDeps object.

Value

A simList object.

See also

Other functions to access elements of a 'simList' object: doEvent.checkpoint(), envir(), events(), globals(), inputs(), modules(), objs(), packages(), params(), paths(), progressInterval(), times()

Author

Alex Chubaty