Create template testing structures for new modules

newModuleTests(name, path, open, useGitHub)

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

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.

Value

NULL (invisibly). Invoked for its side effect of creating new module test files.

See also

Other module creation helpers: newModule()

Author

Eliot McIntire and Alex Chubaty