Learn R Programming

SpaDES (version 1.3.1)

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, ...)

# S4 method for 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.