Learn R Programming

SpaDES (version 1.3.1)

zipModule: Create a zip archive of a module subdirectory

Description

The most common use of this would be from a "modules" directory, rather than inside a given module.

Usage

zipModule(name, path, version, ...)

# S4 method for character,character,character zipModule(name, path, version, ...)

# S4 method for character,missing,character zipModule(name, path, version, ...)

# S4 method for character,missing,missing zipModule(name, path, version, ...)

# S4 method for character,character,missing zipModule(name, path, version, ...)

Arguments

name

Character string giving the module name.

path

A file path to a directory containing the module subdirectory.

version

The module version.

...

Additional arguments to zip: e.g., add "-q" using flags="-q -r9X" (the default flags are "-r9X").