Skip to contents

Given the name or the definition of a class, plus optionally data to be included in the object, new returns an object from that class.

Usage

# S4 method for projConfig
initialize(
  .Object,
  args = list(),
  options = list(),
  params = list(),
  paths = list(),
  ...
)

Arguments

.Object

An object: see the “Initialize Methods” section.

args

Named list of additional project arguments.

options

Named list of R and R package options to be set.

params

Named list of named lists specifying simulation parameters. The names of the outermost list must correspond to modules (and may also include .global).

paths

Named list of paths, which should include (at minimum) the the paths in SpaDES.core::setPaths.

...

arguments to specify properties of the new object, to be passed to initialize().