SpaDES (version 1.1.4)

checkParams: Check use and existence of params passed to simulation.

Description

Checks that all parameters passed are used in a module, and that all parameters used in a module are passed.

Usage

checkParams(sim, coreModules, coreParams, path, ...)

## S3 method for class 'simList,list,list,character': checkParams(sim, coreModules, coreParams, path, ...)

Arguments

sim
A simList simulation object.
coreModules
List of core modules.
coreParams
List of default core parameters.
path
The location of the modules' source files.
...
Additional arguments. Not implemented.

Value

  • Invisibly return TRUE indicating object exists; FALSE if not. Sensible messages are be produced identifying missing parameters.