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

disable inclusion of modules code with RCPP_NO_MODULES #995

merged 1 commit into from Oct 2, 2019
Changes from all commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.


Just for now

disable inclusion of modules code with RCPP_NO_MODULES

  • Loading branch information
kevinushey committed Oct 1, 2019
commit 286a45f1ffbbd6b816fe9802988dc391285558ba
@@ -1,3 +1,9 @@
2019-09-30 Kevin Ushey <>

* inst/include/Rcpp.h: add RCPP_NO_MODULES
* inst/include/Rcpp/api/meat/is.h: Idem
* inst/include/Rcpp/api/meat/meat.h: Idem

2019-09-28 Dirk Eddelbuettel <>

* Add a stackoverflow tag to indicate where to ask questions,
@@ -63,8 +63,10 @@

#include <Rcpp/Na_Proxy.h>

#include <Rcpp/Module.h>
#include <Rcpp/InternalFunction.h>

#include <Rcpp/Nullable.h>

@@ -148,6 +148,8 @@ namespace Rcpp {
return TYPEOF(x) == REALSXP && Rf_inherits(x, "POSIXt");


inline bool is_module_object_internal(SEXP obj, const char* clazz){
Environment env(obj);
SEXP sexp = env.get(".cppclass");
@@ -161,6 +163,8 @@ namespace Rcpp {
return is_module_object_internal(x, typeid(CLASS).name());


} // namespace internal
} // namespace Rcpp
@@ -42,6 +42,8 @@
#include <Rcpp/api/meat/protection.h>
#include <Rcpp/api/meat/wrap.h>

#include <Rcpp/api/meat/module/Module.h>

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.