Query data of all packages in a package library.
Usage
lib_status(library = .libPaths()[1], packages = NULL)Value
Data frame that contains data about the packages installed in the library.
It has always has columns:
biocviews: the corresponding field fromDESCRIPTION, it must be present for all Bioconductor packages, other packages typically don't have it.built: theBuiltfield fromDESCRIPTION.depends,suggests,Imports,linkingto,enhances: the corresponding fields from theDESCRIPTIONfiles.deps: A list or data frames, the dependencies of the package. It has columns:ref,type(dependency type in lowercase),package(dependent package, orR),opandversion, for last two are for version requirement.opcan be>=,>,==or<=, although the only the first one is common in practice.library: path to the package library containing the package.license: fromDESCRIPTION.md5sum: fromDESCTIPTION, typicallyNA, except on Windows.needscompilation: fromDESCRIPTION, this column is logical.package: package name.platform: from theBuiltfield inDESCRIPTION, the current platform if missing fromDESCRIPTION.priority: fromDESCRIPTION, usuallybase,recommended, or missing.ref: the correspondinginstalled::*package reference.repository: fromDESCRIPTION. For packages from a CRAN repository this isCRAN, some other repositories, e.g. R-universe adds the repository URL here.repotype:cran,biocor missing.rversion: from theBuiltfield. If no such field, then the current R version.sysreqs: theSystemRequirementsfield fromDESCRIPTION.title: package title.type: alwaysinstalled.version: package version (as string).
Most of these columns are unchanged from DESCRIPTION, but
pkgdepends also adds a couple.
Notes:
In addition, it also has all
remote*andconfig/needs/*entries from theDESCRIPTIONfiles. (Case insensitive.)All columns are of type
character, except forneedscompilation, which is logical anddeps, which is a list columns.If an entry is missing for a package, it is set to
NA.Note that column names are lowercase, even if the corresponding entries are not in
DESCRIPTION.The order of the columns is not deterministic, so don't assume any order.
Additional columns might be present, these are internal for pkgdepends and should not be used in user code.