Suppose `pkgA` links to `Rcpp`, with e.g.
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:
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.