MCPcopy Create free account
hub / github.com/apache/arrow / precious_namespace

Function precious_namespace

r/src/symbols.cpp:47–54  ·  view source on GitHub ↗

returns the namespace environment for package `name`

Source from the content-addressed store, hash-verified

45
46// returns the namespace environment for package `name`
47SEXP precious_namespace(std::string name) {
48 SEXP s_name = PROTECT(cpp11::writable::strings({name}));
49 SEXP ns = R_FindNamespace(s_name);
50 R_PreserveObject(ns);
51 UNPROTECT(1);
52
53 return ns;
54}
55SEXP data::classes_POSIXct = precious(cpp11::writable::strings({"POSIXct", "POSIXt"}));
56SEXP data::classes_metadata_r = precious(cpp11::writable::strings({"arrow_r_metadata"}));
57SEXP data::classes_vctrs_list_of =

Callers 1

symbols.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected