available: Discover packages available for installation.

Description Usage Arguments Value Examples

View source: R/available.R

Description

Discover packages available for installation.

Usage

1
available(pattern = "", include_installed = TRUE)

Arguments

pattern

character(1) pattern to filter (via grep(pattern=...)) available packages; the filter is not case sensitive.

include_installed

logical(1) When TRUE, include installed packages in list of available packages; when FALSE, exclude installed packages.

Value

character() vector of package names available for installation.

Examples

1
2
3
4
5
6
if (interactive()) {
  avail <- BiocManager::available()
  length(avail)

  BiocManager::available("bs.*hsapiens")
}

BiocManager documentation built on June 16, 2021, 1:06 a.m.