The most common use of this would be from a "modules" directory, rather than inside a given module.
zipModule(name, path, version, data = FALSE, ...)# S4 method for character,character,character
zipModule(name, path, version, data = FALSE, ...)
# S4 method for character,missing,character
zipModule(name, path, version, data = FALSE, ...)
# S4 method for character,missing,missing
zipModule(name, path, version, data = FALSE, ...)
# S4 method for character,character,missing
zipModule(name, path, version, data = FALSE, ...)
Nothing is returned. Invoked for its side effect of zipping module files.
Character string giving the module name.
A file path to a directory containing the module subdirectory.
The module version.
Logical. If TRUE
, then the data subdirectory will be included in the zip.
Default is FALSE
.
Additional arguments to zip()
:
e.g., add "-q"
using flags="-q -r9X"
(the default flags are "-r9X"
).
Eliot McIntire and Alex Chubaty