Create template testing structures for new modules
newModuleTests(name, path, open, useGitHub)# S4 method for character,character,logical,logical
newModuleTests(name, path, open, useGitHub)
Nothing is returned. Invoked for its side effect of creating new module test files.
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.
Eliot McIntire and Alex Chubaty
Other module creation helpers:
newModule()
,
newModuleCode()
,
newModuleDocumentation()