get_mirror {mirrorselect} | R Documentation |
get_mirror
Description
Access CRAN or Bioconductor mirror
Usage
get_mirror(repo = "CRAN", country = "global")
Arguments
repo |
one of 'CRAN' or 'BioC' |
country |
specify the mirrors from a specific country. Default to 'global' without filtering. |
Details
The mirror lists are obtained from https://cran.r-project.org/mirrors.html (CRAN) or https://bioconductor.org/BioC_mirrors.csv (Bioconductor). This function allows user to extract mirrors from a specific country using internet country code.
Value
a vector of mirror urls
Author(s)
Guangchuang Yu
Examples
head(get_mirror())
[Package mirrorselect version 0.0.3 Index]