makerepo: makeRepo

makeRepoR Documentation

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 signature 'PkgManifest'
makeRepo(x, cores = 1, build_pkgs = NULL,
  scm_auth = list(bioconductor.org = c("readonly", "readonly")),
  constrained_build = FALSE, ...)

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

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

## S4 method for signature '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


gmbecker/gRAN documentation built on July 5, 2023, 11:05 p.m.