Learn R Programming

SpaDES (version 1.3.1)

newModuleCode: Create new module code file

Description

Create new module code file

Usage

newModuleCode(name, path, open, type, children)

# S4 method for character,character,logical,character,character newModuleCode(name, path, open, type, children)

Arguments

name

Character string specifying the name of the new module.

path

Character string. Subdirectory in which to place the new module code file. The default is the current working directory.

open

Logical. Should the new module file be opened after creation? Default TRUE.

type

Character string specifying one of "child" (default), or "parent".

children

Required when type = "parent". A character vector specifying the names of child modules.

See Also

Other module creation helpers: newModuleDocumentation, newModuleTests, newModule