Learn R Programming

RcppAPT (version 0.0.9)

reverseDepends: Return Reverse-Depends for given packages

Description

The APT Package Management system uses a data-rich caching structure. This accessor function returns the Reverse-Depends for a set of packages matching the given regular expression.

Usage

reverseDepends(regexp = ".")

Arguments

regexp

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

Value

A data frame with two column listing packages and, where available, minimal version.

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.

Examples

Run this code
# NOT RUN {
reverseDepends("r-cran-rcpp$")
# }

Run the code above in your browser using DataLab