Adds various utility functions for modifying options: opt_set()
, opt()<-
and opt_set_local()
.
Trying to retrieve an option that is not yet defined will now default to throwing a warning. This behavior can be modified using the on_missing
argument to functions that fetch option values.
opts()
slightly refactored to produce more constructive output when no option names are provided. You can now use opts(env = package_name)
to fetch a full named list of option values. (@dgkf #2)
Generated roxygen2
documentation using as_roxygen_docs()
is now more consciencious about R CMD check
requirements, moving \usage{}
to a new section titled “Checking Option Values”. (@dgkf #2)
options
split from dgkf/devutils