load_pkg_db: Load package database

View source: R/load_data.R

load_pkg_dbR Documentation

Load package database

Description

Load package database

Usage

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

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.

Value

A pkg_db class object.

Examples

## Not run: 
pkg_db = load_pkg_db(lib = NA)
pkg_db

## End(Not run)

jokergoo/pkgndep documentation built on Aug. 22, 2022, 2:57 a.m.