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").
Value
character()
vector of package names available for
installation.
Examples
if (interactive()) {
avail <- BiocManager::available()
length(avail)
BiocManager::available("bs.*hsapiens")
}