repositories: Display current Bioconductor and CRAN repositories.

Description Usage Arguments Value See Also Examples

Description

repositories() reports the URLs from which to install Bioconductor and CRAN packages. It is used by BiocManager::install() and other functions.

Usage

1
2
repositories(site_repository = character(),
  version = BiocManager::version())

Arguments

site_repository

(Optional) character(1) representing an additional repository (e.g., a URL to an organization's internally maintained repository) in which to look for packages to install. This repository will be prepended to the default repositories returned by the function.

version

(Optional) character(1) or package_version indicating the Bioconductor version (e.g., "3.8") for which repositories are required.

Value

Named character() of repositories.

See Also

BiocManager::install() Installs or updates Bioconductor, CRAN, and GitHub packages.

chooseBioCmirror() choose an alternative Bioconductor mirror; not usually necessary.

chooseCRANmirror() choose an alternative CRAN mirror; not usually necessary.

setRepositories() Select additional repositories for searching.

Examples

1
2
3
4
5
BiocManager::repositories()
## Not run: 
BiocManager::repositories(version="3.8")

## End(Not run)

BiocManager documentation built on May 1, 2019, 9:27 p.m.