Learn R Programming

SpaDES (version 1.3.1)

modules: Simulation modules and dependencies

Description

Accessor functions for the depends and modules slots in a simList object. These are included for advanced users.

depends List of simulation module dependencies. (advanced)
modules List of simulation modules to be loaded. (advanced)
inputs List of loaded objects used in simulation. (advanced)

Usage

modules(object, hidden = FALSE)

# S4 method for .simList modules(object, hidden = FALSE)

modules(object) <- value

# S4 method for .simList modules(object) <- value

depends(object)

# S4 method for .simList depends(object)

depends(object) <- value

# S4 method for .simList depends(object) <- value

Arguments

object

A simList simulation object.

hidden

Logical. If TRUE, show the default core modules.

value

The object to be stored at the slot.

Value

Returns or sets the value of the slot from the simList object.

Details

Currently, only get and set methods are defined. Subset methods are not.

See Also

SpaDES, specifically the section 1.2.7 on Modules and dependencies.

Other functions to access elements of a simList object: .addDepends, doEvent.checkpoint, envir, events, globals, inputs, ls.simList, ls.str.simList, objs, packages, params, paths, progressInterval, times