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

Function Environment_Impl

inst/include/Rcpp/Environment.h:56–59  ·  view source on GitHub ↗

* wraps the given environment * * if the SEXP is not an environment, and exception is thrown */

Source from the content-addressed store, hash-verified

54 * if the SEXP is not an environment, and exception is thrown
55 */
56 Environment_Impl(SEXP x) {
57 Shield<SEXP> env(as_environment(x));
58 Storage::set__(env) ;
59 }
60
61 /**
62 * Gets the environment associated with the given name

Callers 3

namespace_envFunction · 0.85
parentFunction · 0.85
new_childFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected