imports_env: Return imports environment for a package

View source: R/imports-env.R

imports_envR Documentation

Return imports environment for a package

Description

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.

Usage

imports_env(package)

Arguments

package

The package name as a string.

See Also

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.


pkgload documentation built on Sept. 22, 2023, 9:06 a.m.