Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upName attribute in RcppExports no longer works #702
Comments
|
Possible. @jjallaire Any quick idea which regexps to tune? In the meantime consider the fallback of calling |
|
Bummed that this one snuck through. At least anyone who runs into this will get a local compilation error (rather than "silently" incorrect code) so has a chance to fix before submitting to CRAN. Just submitted a PR with the fix. |
|
I could as a convenience roll up 0.12.11.1 for the rcpp drat repo. |
…ation Fix native registration for exports with name attribute (fixes #702)
I updated Rcpp to version 0.12.11 from 0.12.10 and suddenly exported functions with name="" attributes no longer work.
This appears to be due to the CallEntries in RcppExport.cpp using the incorrect name to derive a function pointer.
Example exported code:
RcppExport wrapper:
Corresponding CallEntries entry:
I think this function pointer should be
&BayesSpec_stickBreakingMixtureNote that I have checked and this is not due simply to the use of '.' in the exported name.