get_options_env | R Documentation |
The options environment stores metadata regarding the various options defined in the local scope - often the top environment of a package namespace.
get_options_env(env, ...)
## S3 method for class 'options_env'
get_options_env(env, ...)
## S3 method for class 'options_list'
get_options_env(env, ...)
## Default S3 method:
get_options_env(
env = parent.frame(),
...,
inherits = FALSE,
ifnotfound = emptyenv()
)
env |
An environment in which to search for an options environment |
... |
Additional arguments unused |
inherits |
Whether to search upward through parent environments |
ifnotfound |
A result to return of no options environment is found. |
An environment containing option specifications and default values,
or ifnotfound
if no environment is found.
This function's public interface is still under consideration. It is surfaced to provide access to option names, though the exact mechanism of retrieving these names should be considered experimental.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.