R_GlobalEnv
. The hierarchy is <namespace:pkg>
,
<imports:pkg>
, <namespace:base>
, and then
R_GlobalEnv
.ns_env(pkg = ".")
as.package
for more informationNULL
.pkg_env
for the attached environment that
contains the exported objects.imports_env
for the environment that contains
imported objects for the package.