I think Rcpp::depends has been fixed by my recent commits. The issue is closed on github.
I’ve also added code to warn on unknown attributes, such as « Rcpp::plugins » which at the moment we don’t handle.
Romain.
PS: Rcpp::depends is implemented by setting the CLINK_CPPFLAGS environment variable, which emulates part of what LinkingTo is doing.
flag <- sprintf( '-I"%s", system.file( "include", package = "BH" ) )
Sys.setenv( "CLINK_CPPFLAGS", flag )
Le 8 mai 2014 à 16:34, Gabor Grothendieck <
ggroth...@gmail.com> a écrit :
> Thanks. Could you post a self-contained reproducible example using
> sourceCpp or a pointer to one.