package: Create a cache package

Description Usage Arguments Details Value Note

View source: R/utils.R

Description

Create a cache package for distribution

Usage

1
2
package(cachedir)
cachepackage(cachedir)

Arguments

cachedir

character, path to cache directory from which the cache package should be made

Details

The zip utility is needed in order for this function to operate. The cache directory is zipped up and an archive is created. This file can be distributed to others or uploaded to an archive website.

If an archive file of the same already exists, it will be overwritten, with a warning issued.

Value

The name of the archive file created.

Note

The package function is deprecated in favor of the renamed cachepackage function.


rdpeng/cacher documentation built on May 27, 2019, 3:06 a.m.