dumpPackages: Display information for given packages

Description Usage Arguments Details Value Author(s) Examples

View source: R/RcppExports.R

Description

The APT Package Management system uses a data-rich caching structure. This accessor function displays the information for a set of packages matching the given regular expression. It corresponds somewhat to apt-cache showpkg pkgname but displays more information.

Usage

1

Arguments

regexp

A regular expression for the package name(s) with a default of all (".")

Details

Note that the package lookup uses regular expressions. If only a single package is desired, append a single $ to terminate the expression. Ie r-cran-rcpp$ will not return results for r-cran-rcpparmadillo and r-cran-rcppeigen.

Value

A boolean is returned indicating whether or not the given regular expression could be matched to source packages – but the function is invoked ' for the side effect of displaying information.

Author(s)

Dirk Eddelbuettel

Examples

1
dumpPackages("^r-(base|doc)-")

RcppAPT documentation built on July 18, 2017, 5:01 p.m.