[Rcpp-devel] macros RCPP_FUNCTION_...,

Darren Cook darren at dcook.org
Wed Jun 19 02:33:27 CEST 2013

> This is an opportunity for a quick diet. Just before the summer.

Looking good in a bikini is always important. :-)

That no-one uses it in any CRAN package is also compelling. (I just
searched on StackOverflow and no mention there either.)

Dirk wrote:
>> APIs are contracts we have with users.  I would prefer to see strong
>> reasons for change, rather than a style preference.

Romain wrote:
> If we keep it we surely need to document it as part of this contract

I think this is the most compelling reason. It seems almost undocumented.


There is something here:

(BTW, shouldn't "RCPP_FUNCTION_VOID_2" have been "RCPP_FUNCTION_VOID_1" ?)

Can those examples be mechanically converted to use Rcpp modules,
Romain? If so, documenting how to convert might be sufficient, and
anyone who gets hit by the removal can spend 20 minutes updating their
code to work.


More information about the Rcpp-devel mailing list