[Rcpp-devel] compileAttributes() and subfolders
drfinlayscott at gmail.com
Mon May 13 14:54:47 CEST 2013
OK. No problem. Thanks for the fast response.
On Mon, May 13, 2013 at 2:51 PM, JJ Allaire <jj.allaire at gmail.com> wrote:
> No, there currently isn't a way to cause it look inside subfolders.
> On Mon, May 13, 2013 at 5:48 AM, Finlay Scott <drfinlayscott at gmail.com>wrote:
>> 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.
>> Rcpp-devel mailing list
>> Rcpp-devel at lists.r-forge.r-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rcpp-devel