The function lists all packages available from repositories()
when
no pattern is provided. This usually includes CRAN and Bioconductor
packages. The function can also be used to check for package name
availability. Common use cases include annotation package lookups by
organism short name (e.g., "hsapiens").
available(pattern = "", include_installed = TRUE)
character()
vector of package names available for
installation.
if (interactive()) {
avail <- BiocManager::available()
length(avail)
BiocManager::available("bs.*hsapiens")
}