[Rcpp-devel] compileAttributes() and subfolders

Finlay Scott drfinlayscott at gmail.com
Mon May 13 14:48:51 CEST 2013


Hi,
I am putting a package together using Rcpp attributes. It's all working
well so far (thanks to help I previously I got from this list).

To organise my source files a little better I wanted to have a subfolder in
the /src folder (not essential but makes things a little neater). The *.cpp
files in the /src/subfolder have functions that are exported with the
//[[Rcpp::export]] tag. However, when I call compileAttributes() (or use
load_all() from the devtools package) the RcppExports.cpp file that is
created does not include the functions from the /src/subfolder.

Is there a way to get compileAttributes() to look inside subfolders? It's
not essential, I'm just curious.

Yours

Finlay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20130513/518501ea/attachment.html>


More information about the Rcpp-devel mailing list