biocViews (version 1.36.2)

write_REPOSITORY: Write a REPOSITORY control file for a CRAN-style package repository

Description

This function writes a REPOSITORY file at the top-level of a CRAN-style repository. This file is DCF formatted and describes the location of packages available in the repository. Here is an example for a repository containing only source and Windows binary packages:

    source: src/contrib
    win.binary: bin/windows/contrib/2.6
    win64.binary: bin/windows64/contrib/2.6
    mac.binary.leopard: bin/mac/leopard/contrib/2.6
    provides: source, win.binary, win64.binary, mac.binary.leopard
  

Usage

write_REPOSITORY(reposRootPath, contribPaths)

Arguments

reposRootPath
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, genReposControlFiles, write_VIEWS