-
-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Name 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_stickBreakingMixture
Note that I have checked and this is not due simply to the use of '.' in the exported name.
The text was updated successfully, but these errors were encountered: