[Rcpp-devel] R CMD check --as-cran note on Depends/Imports versus LinkingTo

Dirk Eddelbuettel edd at debian.org
Thu Aug 28 14:39:26 CEST 2014


On 28 August 2014 at 14:18, Krueger, Fabian wrote:
| Thanks for the quick & helpful reply! The following seems to fix my problem:
| 
| 1)  As advised, set
| 
| Imports: Rcpp
| LinkingTo: Rcpp, RcppArmadillo
| 
| [my original version had imported RcppArmadillo in addition]
| 
| 2) Delete the following line from the NAMESPACE file generated by 
| RcppArmadillo.package.skeleton():
| 
| import(RcppArmadillo)
| 
| Now "R CMD check --as-cran" goes through without the note (or any other 
| notes/warnings), and the package seems to work as intendend.
| 
| Thanks again & best regards,

Thanks for the prompt and concise confirmation, and of course for the bug
report that started this.

I'll get to fixing this in the GitHub in the next few days, and it should be
fixed by the next RcppArmadillo upload.

Thanks again, Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org


More information about the Rcpp-devel mailing list