MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / Rcpp_protected_eval

Function Rcpp_protected_eval

inst/include/Rcpp/api/meat/Rcpp_eval.h:34–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32};
33
34inline SEXP Rcpp_protected_eval(void* eval_data) {
35 EvalData* data = static_cast<EvalData*>(eval_data);
36 return ::Rf_eval(data->expr, data->env);
37}
38
39// This is used internally instead of Rf_eval() to make evaluation safer
40inline SEXP Rcpp_eval_impl(SEXP expr, SEXP env) { // #nocov

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected