settings: Software Option Settings Manager for R

Share:

Provides option settings management that goes beyond R's default 'options' function. With this package, users can define their own option settings manager holding option names, default values and (if so desired) ranges or sets of allowed option values that will be automatically checked. Settings can then be retrieved, altered and reset to defaults with ease. For R programmers and package developers it offers cloning and merging functionality which allows for conveniently defining global and local options, possibly in a multilevel options hierarchy. See the package vignette for some examples concerning functions, S4 classes, and reference classes. There are convenience functions to reset par() and options() to their 'factory defaults'.

Author
Mark van der Loo
Date of publication
2015-10-27 09:51:33
Maintainer
Mark van der Loo <mark.vanderloo@gmail.com>
License
GPL-3
Version
0.2.4
URLs

View on CRAN

Man pages

clone_and_merge
Create a local, altered copy of an options manager
defaults
Request default option values
inlist
Option checkers
is_setting
Find out if we're setting or getting
options_manager
Create a new options manager.
reset
Reset options to default values
reset_options
Reset general options in 'options' to factory defaults.
reset_par
Reset graphical options in 'par' to factory defaults.
settings
Convenient options settings management for R
stop_if_reserved
Check for reserved option names.

Files in this package

settings
settings/inst
settings/inst/doc
settings/inst/doc/settings.html
settings/inst/doc/settings.R
settings/inst/doc/settings.Rmd
settings/tests
settings/tests/testthat.R
settings/tests/testthat
settings/tests/testthat/testOptions.R
settings/NAMESPACE
settings/NEWS
settings/R
settings/R/utils.R
settings/R/settings-package.R
settings/R/options.R
settings/vignettes
settings/vignettes/settings.Rmd
settings/MD5
settings/build
settings/build/vignette.rds
settings/DESCRIPTION
settings/man
settings/man/options_manager.Rd
settings/man/reset_par.Rd
settings/man/is_setting.Rd
settings/man/stop_if_reserved.Rd
settings/man/inlist.Rd
settings/man/settings.Rd
settings/man/defaults.Rd
settings/man/reset_options.Rd
settings/man/clone_and_merge.Rd
settings/man/reset.Rd