env_namespace

0th

Percentile

Get the namespace of a package.

Namespaces are the environment where all the functions of a package live. The parent environments of namespaces are the imports environments, which contain all the functions imported from other packages.

Usage
env_namespace(pkg = NULL)
env_imports(pkg = NULL)
Arguments
pkg
The name of a package. If NULL, the surrounding namespace is returned, or an error is issued if not called within a namespace.
See Also

env_package()

Aliases
  • env_imports
  • env_namespace
Documentation reproduced from package rlang, version 0.0.0.9000, License: GPL-3

Community examples

Looks like there are no examples yet.