| repo_status {pkgcache} | R Documentation |
Show the status of CRAN-like repositories
Description
It checks the status of the configured or supplied repositories, for the specified platforms and R versions.
Usage
repo_status(
platforms = default_platforms(),
r_version = getRversion(),
bioc = TRUE,
cran_mirror = default_cran_mirror()
)
Arguments
platforms |
Platforms to use, default is |
r_version |
R version(s) to use, the default is the current
R version, via |
bioc |
Whether to add the Bioconductor repositories. If you
already configured them via |
cran_mirror |
The CRAN mirror to use, see
|
Details
The returned data frame has a summary() method, which shows
the same information is a concise table. See examples below.
Value
A data frame that has a row for every repository, on every queried platform and R version. It has these columns:
-
name: the name of the repository. This comes from the names of the configured repositories inoptions("repos"), or added by pkgcache. It is typicallyCRANfor CRAN, and the current Bioconductor repositories areBioCsoft,BioCann,BioCexp,BioCworkflows,BioCbooks. -
url: base URL of the repository. -
bioc_version: Bioconductor version, orNAfor non-Bioconductor repositories. -
platform: platform, seedefault_platforms()for possible values. -
path: the path to the packages within the base URL, for a given platform and R version. -
r_version: R version, one of the specified R versions. -
ok: Logical flag, whether the repository contains a metadata file for the given platform and R version. -
ping: HTTP response time of the repository in seconds. If theokcolumn isFALSE, then this columns inNA. -
error: the error object if the HTTP query failed for this repository, platform and R version.
See Also
Other repository functions:
repo_get()
Examples
repo_status()
rst <- repo_status(
platforms = c("windows", "macos"),
r_version = c("4.0", "4.1")
)
summary(rst)