See if a name is available on CRAN
available_on_bioc(name, repos = NULL, ...)
available_on_cran(name, repos = default_cran_repos, ...)
Name of package to search
character vector, the base URL(s) of the repositories to use.
Additional arguments passed to utils::available.packages()
.
available_on_cran("semaforos")
#> Available on CRAN: ✔
# Test if this name is available in a non-default CRAN repository
if (FALSE) {
available_on_cran("semaforos", repos = "https://bisaloo.r-universe.dev")
}