makerepo: makeRepo

Description Usage Arguments Value References

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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


GRANBase documentation built on Feb. 6, 2020, 5:09 p.m.