newModuleTests: Create template testing structures for new modules

newModuleTestsR Documentation

Create template testing structures for new modules

Description

Create template testing structures for new modules

Usage

newModuleTests(name, path, open, useGitHub)

## S4 method for signature '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.

Author(s)

Eliot McIntire and Alex Chubaty

See Also

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


SpaDES.core documentation built on June 22, 2024, 10:32 a.m.