Recent Releases of options

options - v0.2.0

What's New

  • Exposes get_options_env() (currently experimental), for the purpose of accessing a listing of option names. (@dgkf #17)

  • Adds an optional option_fn parameter to option_spec, allowing for the stored option values to be processed, or to produce side-effects when accessed. (@dgkf #12)

[!NOTE]

Bug Fixes

  • Fixes opts(), which would previously return default values after being updated. Will now appropriately return values just as they would be fetched using opt(). (@dgkf #17)

[!CAUTION]

Breaking Changes

  • The result of opt_source() when a value is derived from an environment variable was changed from "envir" to "envvar" to be more consistent with the rest of the package's messaging about sources. (@dgkf #12)

Full Changelog: https://github.com/dgkf/options/compare/v0.0.2...v0.2.0


Special thanks to @tdeenes for diligently reporting bugs, suggesting fixes and providing feedback on proposed solutions.

- R
Published by dgkf almost 2 years ago

options - v0.0.2

Changelog:

  • 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)

- R
Published by dgkf over 2 years ago

options - v0.0.1

Initial release to CRAN

- R
Published by dgkf about 3 years ago