Package: settings 0.2.8

settings: Software Option Settings Manager for R

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'.

Authors:Mark van der Loo

settings_0.2.8.tar.gz
settings_0.2.8.zip(r-4.7-any)settings_0.2.8.zip(r-4.6-any)settings_0.2.8.zip(r-4.5-any)
settings_0.2.8.tgz(r-4.6-any)settings_0.2.8.tgz(r-4.5-any)
settings_0.2.8.tar.gz(r-4.7-any)settings_0.2.8.tar.gz(r-4.6-any)
settings_0.2.8.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
settings/json (API)

# Install 'settings' in R:
install.packages('settings', repos = c('https://markvanderloo.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/markvanderloo/settings/issues

On CRAN:

Conda:

7.72 score 9 stars 22 packages 27 scripts 3.3k downloads 1 mentions 10 exports 0 dependencies

Last updated from:5ed43d6223. Checks:7 WARNING, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develWARNING117
source / vignettesOK150
linux-releaseWARNING117
macos-releaseWARNING153
macos-oldrelWARNING171
windows-develWARNING59
windows-releaseWARNING57
windows-oldrelWARNING62
wasm-releaseOK95

Exports:clone_and_mergedefaultsinlistinrangeis_settingoptions_managerresetreset_optionsreset_parstop_if_reserved

Dependencies:

Introduction to settings
What are options? | What does the settings package do? | Basic option settings management | Limiting options | Global versus local options | Using the settings package as options manager for your package. | An example S4 class with local options and global default | An example Reference class with local options and global default

Last update: 2018-07-05
Started: 2018-07-05

Validating and manipulating options
Example 1: hard-coded checks | Check function API | Example 2: general checkers | Exercises

Last update: 2018-07-05
Started: 2018-07-05