biocViews (version 1.36.2)

genReposControlFiles: Generate CRAN-style repository control files

Description

This function generates control files for CRAN-style repositories. For each path specified in contribPaths a PACKAGES file is written. In addition, two top-level control files are created:

REPOSITORY contains information about the specified contrib paths.

VIEWS contains metadata for all packages in the repository including the paths to any extracted vignettes, if found. This file is useful for generating HTML views of the repository.

Usage

genReposControlFiles(reposRoot, contribPaths)

Arguments

reposRoot
character vector containing the path to the CRAN-style repository root directory.
contribPaths
A named character vector. Valid names are source, win.binary, win64.binary, mac.binary, and mac.binary.leopard. Values indicate the paths to the package archives relative to the reposRoot.

See Also

write_PACKAGES, extractVignettes, write_REPOSITORY, write_VIEWS