get_mirror: get_mirror

View source: R/mirrorselect.R

get_mirrorR 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())

GuangchuangYu/mirrorselect documentation built on Aug. 31, 2024, 6:41 a.m.