available: Discover packages available for installation.

Description Usage Arguments Value Examples

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
avail <- BiocManager::available()
length(avail)

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

BiocManager documentation built on May 1, 2019, 9:27 p.m.