write_PACKAGES: Generate PACKAGES files

Description Usage Arguments Details See Also

Description

Generate 'PACKAGES' and 'PACKAGES.gz' files for a repository of source or Mac/Windows binary packages. This directly calls write_PACKAGES.

Usage

1
2
write_PACKAGES(dir = ".", type = c("source", "mac.binary", "win.binary"),
  verbose = FALSE, subdirs = FALSE, latestOnly = TRUE, ...)

Arguments

dir

Character vector describing the location of the repository (directory including source or binary packages) to generate the 'PACKAGES' and 'PACKAGES.gz' files from and write them to.

type

Type of packages: currently source ‘.tar.gz’ archives, and Mac or Windows binary (‘.tgz’ or ‘.zip’, respectively) packages are supported. Defaults to "win.binary" on Windows and to "source" otherwise.

verbose

logical. Should packages be listed as they are processed?

subdirs

either logical (to indicate if subdirectories should be included, recursively) or a character vector of name of subdirectories to include.

latestOnly

logical: if multiple versions of a package are available should only the latest version be included? (archive.packages only works for source packages when latestOnly is FALSE)

...

additional arguments passed to write_PACKAGES

Details

In addition, it has the following enhancements:

  1. Fetch files on Network Drive to tmp folder before producing INDEX

See Also

write_PACKAGES


saurfang/roxyPackage documentation built on May 29, 2019, 3:20 p.m.