setupPackageOptions {pkgmaker} | R Documentation |
Package Specific Options
Description
The following functions to access/set the options from the set are assigned
in envir
:
Usage
setupPackageOptions(
...,
NAME = NULL,
ENVIR = topenv(parent.frame()),
RESET = isLoadingNamespace()
)
Arguments
... |
a single named list or named arguments that provide the default options and their values. |
NAME |
name of the set of options.
This is used as a prefix for the name of the associated global
option: |
ENVIR |
environment where the option wrapper functions will be defined.
No function is defined if |
RESET |
a logical that indicates whether the option set should overwrite
one that already exists if necessary.
The default is |
Details
-
<subset>Options
-
<subset>GetOption
Value
Returns an object of class package_options
.