copyModule: Create a copy of an existing module

Description Usage Arguments Value Author(s) Examples

Description

Create a copy of an existing module

Usage

1
2
3
4
5
6
7
copyModule(from, to, path, ...)

## S4 method for signature 'character,character,character'
copyModule(from, to, path, ...)

## S4 method for signature 'character,character,missing'
copyModule(from, to, path, ...)

Arguments

from

The name of the module to copy.

to

The name of the copy.

path

The path to a local module directory. Defaults to the path set by the spades.modulePath option. See setPaths.

...

Additional arguments to file.copy, e.g., overwrite = TRUE.

Value

Invisible logical indicating success (TRUE) or failure (FALSE).

Author(s)

Alex Chubaty

Examples

1
## Not run: copyModule(from, to)

SpaDES.core documentation built on Sept. 30, 2021, 5:10 p.m.