Skip to content
Prev 58199 / 63424 Next

help with rchk warnings on Rf_eval(Rf_lang2(...))

The call should be protected before evaluation though. So more like:

Shield<SEXP> call(Rf_lang2(asEnvironmentSym, x));
return Rcpp_fast_eval(call, R_GlobalEnv);

Best,
Lionel
On 3/23/20, Dirk Eddelbuettel <edd at debian.org> wrote: