[Rcpp-devel] compileAttributes() and subfolders

JJ Allaire jj.allaire at gmail.com
Mon May 13 14:51:47 CEST 2013


No, there currently isn't a way to cause it look inside subfolders.

J.J.

On Mon, May 13, 2013 at 5:48 AM, Finlay Scott <drfinlayscott at gmail.com>wrote:

> 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
>
>
>
> _______________________________________________
> Rcpp-devel mailing list
> Rcpp-devel at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20130513/06603369/attachment.html>


More information about the Rcpp-devel mailing list