Learn R Programming

SpaDES.core (version 2.0.5)

newModuleTests: Create template testing structures for new modules

Description

Create template testing structures for new modules

Usage

newModuleTests(name, path, open, useGitHub)

# S4 method for character,character,logical,logical newModuleTests(name, path, open, useGitHub)

Value

Nothing is returned. Invoked for its side effect of creating new module test files.

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 in an interactive session.

useGitHub

Logical indicating whether GitHub will be used. If TRUE (default), creates suitable configuration files (e.g., .gitignore) and configures basic GitHub actions for module code checking.

Author

Eliot McIntire and Alex Chubaty

See Also

Other module creation helpers: newModule(), newModuleCode(), newModuleDocumentation()