search for: r_init_rcpp

Displaying 1 result from an estimated 1 matches for "r_init_rcpp".

2013 Nov 16
2
Linking to native routines in other packages
...This works great. Now for the question. The documentation says: "It must also specify ?Imports? or ?Depends? of those packages, for they have to be loaded prior to this one (so the path to their compiled code has been registered)." Indeed if I don't have Depends or Imports, the R_init_Rcpp is not called, and so the function is not registered. But now if I do Depends: Rcpp or Imports: Rcpp for the sole purpose of this LinkingTo mechanism, I'm getting * checking dependencies in R code ... NOTE Namespace in Imports field not imported from: ?Rcpp? All declared Imports should b...