[Rcpp-devel] Rcpp::depends not picking up inst/include/

JJ Allaire jj.allaire at gmail.com
Fri Nov 30 22:46:32 CET 2012

One extra clarifying note: when you move from a purely generated
package header file to one that mixes user and generated headers you
need to remove the generator token from the main package header. For


This is covered in the attributes vignette but this seems like a good
context to point it out in.

One other note: custom as/wrap forwarders will work fine with
sourceCpp however if other packages want to use your forwarders then
compileAttributes needs to know about your package's header so it can
be included in RcppExports.cpp. The way to do this is to write an
inline plugin.

More information about the Rcpp-devel mailing list