[Rcpp-devel] Use of "Depends: Rcpp" in packages using Rcpp
edd at debian.org
Tue Jan 7 01:58:13 CET 2014
On 6 January 2014 at 16:30, Davor Cubranic wrote:
| The Rcpp-package vignette says to use "Depends: Rcpp" in the DESCRIPTION of packages that use Rcpp to indicate the dependency and "LinkingTo: Rcpp" to indicate the use of headers. Is "Depends" really necessary? If the dependent package needs to use R code, it can be done with "Imports" without the side-effect of attaching Rcpp's namespace. And since R 3.0.2, the version dependency information can be expressed in "LinkingTo".
Sure. "Do as I do, not do as I say".
RcppArmadillo, for example, uses this:
Depends: R (>= 2.14.0)
No Depends, but LinkingTo and Import.
Documentation patches welcome, as always.
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
More information about the Rcpp-devel