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 896f9b2 commit 30a2121Copy full SHA for 30a2121
inst/include/Rcpp/api/meat/Rcpp_eval.h
@@ -70,7 +70,9 @@ namespace Rcpp{
70
Shield<SEXP> res(::Rf_eval( call, RCPP ) );
71
72
// collect warnings
73
- Shield<SEXP> warnings(::Rf_eval(Rf_lang1(collectWarningsSym), RCPP));
+ Shield<SEXP> warningCall(Rf_lang1(collectWarningsSym));
74
+ Shield<SEXP> warnings(::Rf_eval(warningCall, RCPP));
75
+
76
evalCall->warnings = Rcpp::as<std::vector<std::string> >(warnings);
77
78
// check for error
0 commit comments