Learn R Programming

pkgndep (version 1.2.0)

load_pkg_db: Load package database

Description

Load package database

Usage

load_pkg_db(lib = NULL, snapshot = FALSE, verbose = TRUE, online = TRUE)

Value

A pkg_db class object.

Arguments

lib

Local library path. If the value is NA, only remote package database is used.

snapshot

Internally used. If it is TRUE, the package database generated on 2021-10-28 is used.

verbose

Whetehr to print messages.

online

If the value is TRUE, it will directly use the package database file from CRAN/Bioconductor. If the value is FALSE, it uses the cached package database retrieved on 2021-10-28.

Details

It loads the package database from CRAN/Bioconductor and locally installed packages.

The database object internaly is cached for repeated use of other functions in this package.

Examples

Run this code
if (FALSE) {
pkg_db = load_pkg_db(lib = NA)
pkg_db
}

Run the code above in your browser using DataLab