Skip to content
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

Loading cannot please both R CMD check and devtools? #31

Closed
richfitz opened this issue Jul 2, 2013 · 2 comments
Closed

Loading cannot please both R CMD check and devtools? #31

richfitz opened this issue Jul 2, 2013 · 2 comments

Comments

@richfitz
Copy link
Member

richfitz commented Jul 2, 2013

In R/zzz.R, the module is loaded. If done via loadRcppModules(), R CMD check is happy, but devtools cannot generate the documentation. If done via loadModule("tree", TRUE) within .onLoad(), R CMD check cannot run set_sane_gsl_error_handling within .onLoad().

This is related to issues between the devtools and Rcpp packages and may be resolved at some point:

http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2012-March/003601.html
r-lib/devtools#61
r-lib/devtools#193
r-lib/devtools#253

richfitz added a commit that referenced this issue Jul 2, 2013
@richfitz
Copy link
Member Author

richfitz commented Jul 5, 2013

It would be easy enough to drop the Rcpp wrapper here and just use .Call in the .onload, provided things were properly set up as C calls. I think that RcppExport does that for us?

@richfitz
Copy link
Member Author

Closing as horribly out of date, and will go away once we drop modules (e.g. #86)

richfitz added a commit that referenced this issue Sep 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant