[Rcpp-devel] Use of "Depends: Rcpp" in packages using Rcpp

Davor Cubranic cubranic at stat.ubc.ca
Tue Jan 7 01:30:46 CET 2014

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".


More information about the Rcpp-devel mailing list