powered by
Create a copy of an existing module
copyModule(from, to, path, ...)# S4 method for character,character,character copyModule(from, to, path, ...)# S4 method for character,character,missing copyModule(from, to, path, ...)
# S4 method for character,character,character copyModule(from, to, path, ...)
# S4 method for character,character,missing copyModule(from, to, path, ...)
The name of the module to copy.
The name of the copy.
The path to a local module directory. Defaults to the path set by the spades.modulePath option. See setPaths.
spades.modulePath
setPaths
Additional arguments to file.copy, e.g., overwrite = TRUE.
file.copy
overwrite = TRUE
Invisible logical indicating success (TRUE) or failure (FALSE).
TRUE
FALSE
# NOT RUN { copyModule(from, to) # } # NOT RUN { # }
Run the code above in your browser using DataLab