VIEWS file to the top-level of a
CRAN-style package repository. The VIEWS file is in DCF format
and describes all packages found in the repository. The VIEWS file contains the complete DESCRIPTION file
for each source package in the repository. In addition, metadata for
available binary packages and vignettes is centralized here.
write_VIEWS(reposRootPath, fields = NULL, type = c("source", "win.binary", "win64.binary", "mac.binary", "mac.binary.leopard","mac.binary.mavericks"), verbose = FALSE, vignette.dir = "vignettes")source, win.binary, win64.binary,
mac.binary, or mac.binary.leopard indicating which set of
packages should be used to build up the "shared" information. Since a
repository can contain different versions of the same package (source
vs binary) the shared information may not be reliable.TRUE, print progress messages.tools package:
tools:::.build_repository_package_db.write_PACKAGES,
extractVignettes,
genReposControlFiles,
write_REPOSITORY