Create template testing structures for new modules
newModuleTests(name, path, open, useGitHub)
# S4 method for character,character,logical,logical
newModuleTests(name, path, open, useGitHub)
Character string specifying the name of the new module.
Character string. Subdirectory in which to place the new module code file. The default is the current working directory.
Logical. Should the new module file be opened after creation?
Default TRUE
in an interactive session.
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.
NULL (invisibly). Invoked for its side effect of creating new module test files.
Other module creation helpers:
newModule()