* creates a new environment whose this is the parent */
| 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 | }; |
nothing calls this directly
no test coverage detected