Bug 16268 - [WISHLIST] Upon package installation, annotate DESCRIPTION with versions of packages linked to
Summary: [WISHLIST] Upon package installation, annotate DESCRIPTION with versions of p...
Status: NEW
Alias: None
Product: R
Classification: Unclassified
Component: Wishlist (show other bugs)
Version: R-devel (trunk)
Hardware: All All
: P5 enhancement
Assignee: R-core
Depends on:
Reported: 2015-03-19 00:42 UTC by Kevin Ushey
Modified: 2015-03-19 00:42 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Ushey 2015-03-19 00:42:16 UTC
Suppose `pkgA` links to `Rcpp`, with e.g.

    LinkingTo: Rcpp

It would be useful (from a reproducibility + debugging standpoint) if, upon installation of `pkgA`, the version of `Rcpp` that was actually discovered and linked to was recorded in the (installed) `pkgA`'s DESCRIPTION.

For example, after installation, `pkgA`'s DESCRIPTION could gain the field:

        Rcpp (0.11.5)

It may even be useful to include the repository (if it exists) in that field as well, e.g.

        Rcpp (0.11.5, CRAN)

As far as I can tell, there is currently no (simple, portable) way to determine this post-installation, so it would be very useful if R appended these annotations on install.