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

Function new_child

inst/include/Rcpp/Environment.h:368–372  ·  view source on GitHub ↗

* creates a new environment whose this is the parent */

Source from the content-addressed store, hash-verified

366 * creates a new environment whose this is the parent
367 */
368 Environment_Impl new_child(bool hashed) const {
369 SEXP newEnvSym = Rf_install("new.env");
370 Shield<SEXP> call(Rf_lang3(newEnvSym, Rf_ScalarLogical(hashed), Storage::get__()));
371 return Environment_Impl(Rcpp_fast_eval(call, R_GlobalEnv));
372 }
373
374 void update(SEXP){}
375 };

Callers

nothing calls this directly

Calls 2

Environment_ImplFunction · 0.85
Rcpp_fast_evalFunction · 0.85

Tested by

no test coverage detected