Namespace Reflection Support

Share:

Description

Internal functions to support reflection on namespace objects.

Usage

1
2
3
4
5
6
7

Arguments

ns

string or namespace object.

name

string or name.

Details

getExportedValue returns the value of the exported variable name in namespace ns.

getNamespace returns the environment representing the name space name. The namespace is loaded if necessary.

getNamespaceExports returns a character vector of the names exported by ns.

getNamespaceImports returns a representation of the imports used by namespace ns. This representation is experimental and subject to change.

getNamespaceName and getNamespaceVersion return the name and version of the namespace ns.

getNamespaceUsers returns a character vector of the names of the namespaces that import namespace ns.

Author(s)

Luke Tierney

See Also

loadNamespace for more about namespaces.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.