You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having trouble using load_all() on a package that uses Rcpp modules. I load my Rcpp modules using the loadRcppModules() function.
Note that it can only be used from within the .onLoad function, but I get an error with load_code() tries to execute env$.onLoad():
"loadRcppModules can only be used within a .onLoad function"
I'm not sure if it makes more sense to instead ask Rcpp to modify these sanity checks. On the other hand, perhaps I'm doing something incorrectly.
Thanks,
Chris
The text was updated successfully, but these errors were encountered:
Hi,
I'm having trouble using
load_all()
on a package that uses Rcpp modules. I load my Rcpp modules using the loadRcppModules() function.Note that it can only be used from within the
.onLoad
function, but I get an error withload_code()
tries to executeenv$.onLoad()
:"loadRcppModules can only be used within a .onLoad function"
I'm not sure if it makes more sense to instead ask Rcpp to modify these sanity checks. On the other hand, perhaps I'm doing something incorrectly.
Thanks,
Chris
The text was updated successfully, but these errors were encountered: