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

Function set_current_error

src/barrier.cpp:183–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183SEXP set_current_error(SEXP cache, SEXP e) {
184 SET_VECTOR_ELT(cache, 2, e);
185 return R_NilValue;
186}
187
188SEXP init_Rcpp_cache() {
189 SEXP getNamespaceSym = Rf_install("getNamespace"); // cannot be gc()'ed once in symbol table

Callers 3

init_Rcpp_cacheFunction · 0.85
reset_current_errorFunction · 0.85
rcpp_error_recorderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected