[Rcpp-devel] Local .h files and Rcpp attributes

Mark Fredrickson mark.m.fredrickson at gmail.com
Sun Oct 20 19:55:23 CEST 2013

I wanted to thank everyone for help on this. Putting the typedef in a
header (inst/include/RItools.h) the export function would auto-include was
exactly what I was looking for. This discussion also prompted me to think a
little more about the interface my package should export should anyone else
want to write test statistic functions that are compatible.

Thanks again,

On Sat, Oct 19, 2013 at 3:15 PM, Dirk Eddelbuettel <edd at debian.org> wrote:

> On 19 October 2013 at 16:06, JJ Allaire wrote:
> | For it to actually work though we'd need to modify Makevars as well (as
> Romain
> | pointed out) so that the RcppExports.cpp could see the include file.
> This might
> | get trickly.
> Well right now we simply set people up to fail / having to create it
> themselves. Rcpp.package.skeleton() has always created src/Makevars{.win}
> but
> currently does not include PKG_CPPFLAGS = ...  Maybe it should. Anyway...
> | My thought was that we should either generate a fully working
> | solution or failing that generation enough pointers/documentation to get
> most
> | users over the hump.
> The thread is long enough, so maybe the next someone struggles with this
> they
> may find. If someone is itching to fix this, we will gladly take patches.
> Dirk
> --
> Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
> _______________________________________________
> 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/20131020/5f09597c/attachment.html>

More information about the Rcpp-devel mailing list