get_available_packages: Get the list of available packages

Description Usage Arguments Details Value Examples

View source: R/get_available_packages.R

Description

Get names of packages that you have locally installed or that are available to be installed.

Usage

1
get_available_packages(bioc = FALSE, local = FALSE, reset_cache = FALSE)

Arguments

bioc

A logical value. If TRUE the Bioconductor dependencies data will be taken from the Bioconductor repository. For this option to work properly, BiocManager package needs to be installed.

local

A logical value. If TRUE only data of locally installed packages will be used (without API usage).

reset_cache

A logical value. If TRUE the cache will be cleared before obtaining the list of packages.

Details

Function uses caching - only the first usage scraps information from servers. Those objects are then saved locally in temporary file and further usages loads needed data from the file.

Arguments bioc and local cannot be TRUE simultaneously. If neither local nor bioc are TRUE, vector contains all packages available currently on CRAN. If bioc is TRUE, vector contains all packages available currently on CRAN and via Bioconductor. If local is TRUE, vactor contains all of the packages that are currently installed.

Value

A character vector.

Examples

1
2
3
4

deepdep documentation built on Dec. 20, 2021, 5:08 p.m.