Return imports environment for a package
Contains objects imported from other packages. Is the parent of the package namespace environment, and is a child of <namespace:base>, which is a child of R_GlobalEnv.
imports_env(pkg = ".")
package description, can be path or package name. See
as.packagefor more information.
ns_env for the namespace environment that
all the objects (exported and not exported).
pkg_env for the attached environment that contains
the exported objects.