Learn R Programming

GRANBase (version 2.6.20)

makeRepo: makeRepo

Description

Make a package repository containing a specified set of packages from various sources

Usage

makeRepo(x, cores = 1, build_pkgs = NULL,
  scm_auth = list(bioconductor.org = c("readonly", "readonly")),
  constrained_build = FALSE, ...)

# S4 method for PkgManifest makeRepo(x, cores = 1, build_pkgs = NULL, scm_auth = list(bioconductor.org = c("readonly", "readonly")), constrained_build = FALSE, ...)

# S4 method for SessionManifest makeRepo(x, cores = 1, build_pkgs = NULL, scm_auth = list(bioconductor.org = c("readonly", "readonly")), constrained_build = FALSE, ...)

# S4 method for GRANRepository makeRepo(x, cores = 1, build_pkgs = NULL, scm_auth = list(bioconductor.org = c("readonly", "readonly")), constrained_build = FALSE, ...)

# S4 method for character makeRepo(x, cores = 1, build_pkgs = NULL, scm_auth = list(bioconductor.org = c("readonly", "readonly")), constrained_build = FALSE, ...)

Arguments

x

The object containing the information necessary to create the repository

cores

The number of cores on the local machine to use during building

build_pkgs

The names of the packages to (re) build and test within the repository. Defaults to NULL which builds all packages in the manifest

scm_auth

A named list containing the information necessary to check out package sources. The list elements (assumed to be a character vector of length 2, user then password) are applied when the name is contained in a package's url

constrained_build

Whether to constrain side-effects of build

...

Additional arguments, typically used for the construction of a GRANRepository object if one does not already exist.

Value

A GRANRepository object which has used to create a repository.

References

Becker G, Barr C, Gentleman R, Lawrence M; Enhancing Reproducibility and Collaboration via Management of R Package Cohorts. Journal of Statistical Software, 81(1). 2017. doi: 10.18637/jss.v082.i01