available_on_cran: See if a name is available on CRAN

View source: R/cran.R

available_on_biocR Documentation

See if a name is available on CRAN

Description

See if a name is available on CRAN

Usage

available_on_bioc(name, repos = NULL, ...)

available_on_cran(name, repos = default_cran_repos, ...)

Arguments

name

Name of package to search

repos

character vector, the base URL(s) of the repositories to use.

...

Additional arguments passed to utils::available.packages().

Examples

available_on_cran("semaforos")

# Test if this name is available in a non-default CRAN repository
## Not run: 
available_on_cran("semaforos", repos = "https://bisaloo.r-universe.dev")

## End(Not run)

available documentation built on July 11, 2022, 1:05 a.m.