bioc_install_repos: Tools for Bioconductor repositories

Description Usage Arguments Details Value Examples

Description

bioc_version() returns the Bioconductor version for the current or the specified R version.

Usage

1
2
3
4
bioc_version(r_ver = getRversion())

bioc_install_repos(r_ver = getRversion(),
  bioc_ver = bioc_version(r_ver))

Arguments

r_ver

R version to use. For bioc_install_repos() it is ignored if bioc_ver is specified.

bioc_ver

Bioconductor version to use. Defaults to the default one corresposding to r_ver.

Details

bioc_install_repos() deduces the URLs of the BioConductor repositories.

Both functions observe the R_BIOC_VERSION environment variable, which can be set to force a Bioconductor version. If this is set, then the r_ver and bioc_ver arguments are ignored.

bioc_install_repos() observes the R_BIOC_MIRROR enironment variable and also the BioC_mirror option, which can be set to the desired Bioconductor mirror. The option takes precedence if both are set. Its default value is https://bioconductor.org.

Value

bioc_version() returns a Bioconductor version, a package_version object.

bioc_install_repos() returns a named character vector of the URLs of the BioConductor repositories, appropriate for the current or the specified R version.

Examples

1
2
3

remotes documentation built on June 25, 2019, 1:03 a.m.