We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03323bd commit 3cd99b3Copy full SHA for 3cd99b3
src/barrier.cpp
@@ -135,7 +135,8 @@ SEXP set_current_error(SEXP cache, SEXP e){
135
SEXP init_Rcpp_cache(){
136
SEXP getNamespaceSym = Rf_install("getNamespace"); // cannot be gc()'ed once in symbol table
137
Rcpp::Shield<SEXP> RcppString( Rf_mkString("Rcpp") );
138
- Rcpp::Shield<SEXP> RCPP( Rf_eval(Rf_lang2( getNamespaceSym, RcppString ), R_GlobalEnv) ) ;
+ Rcpp::Shield<SEXP> call( Rf_lang2( getNamespaceSym, RcppString ) );
139
+ Rcpp::Shield<SEXP> RCPP( Rf_eval(call, R_GlobalEnv) ) ;
140
Rcpp::Shield<SEXP> cache( Rf_allocVector( VECSXP, RCPP_CACHE_SIZE ) );
141
142
// the Rcpp namespace
0 commit comments