make_namespace
creates a new module namespace.
make_namespace(info)is_namespace(env)
namespace_info(ns, which, default = NULL)
namespace_info(ns, which) <- value
mod_topenv(env = parent.frame())
is_mod_topenv(env)
make_namespace
returns the newly created module namespace for
the module described by info
.
the module info.
an environment that may be a module namespace.
the module namespace environment.
the key (as a length 1 character string) of the info to get/set.
default value to use if the key is not set.
the value to assign to the specified key.
The namespace contains a module’s content. This schema is very much like R package organisation. A good resource for this is: <http://obeautifulcode.com/R/How-R-Searches-And-Finds-Stuff/>