Skip to content

options

0.3.1Package record

Simple, Consistent Package Options

4packages depend
14.7Kdownloads / year
90.8%test coverage
11/13flavors OK

Overview

About

Simple mechanisms for defining and interpreting package options. Provides helpers for interpreting environment variables, global options, defining default values and more.

Changes in 0.3.1

Bug Fixes

  • Fixed define_options when using a NULL default value. Previously, the NULL value would not be recognized and would silently ignore the option definition. (@dgkf #34)
  • Fixed envvar_is.logical (and thereby, envvar_is_true, envvar_is_false), leveraging as.logical internally to make the parsing from strings align more closely to what one may expect in R. Notably, all lowercase values true and false will now be recognized as their respective logical values. (@dgkf #34)

From NEWS.md in the release

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Doug Kelkhoff <doug.kelkhoff@gmail.com>’

Found the following (possibly) invalid URLs:
  URL: https://matrix.to/#/#r-pkg-options:matrix.org
    From: README.md
    Message: Invalid URL: '#' not allowed in fragment

CRAN check page ↗

Slowest check: 1.4 min · r-oldrel-macos-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.3.1
READMEYes · 332 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 0.3.1Citation fileNoWebsiteYes
Help pages
20 (11 internal)
Examples that run
100%5 run in a plain check (1 of them under a condition)
Exported functions with examples
56%
Documented parameters
75%
Return-value docs
100%
Help pages citing references
0%

Downloads

14.7K
CRAN downloads in the past year
Rank #3,889 · ~40/day · ~1.2K/mo
Daily download trend is not available in this view yet.
51330 days
2.4K90 days
14.7K1 year
Compare downloads with other packages →
Also on107 r2u6 autocran476 conda_forge

Repository

4Stars
0Forks
0Open issues
1Open PRs
5Releases
136Commits
5Commit identities
developer-toolsrr-package
136 commits · Last activity 2025-03-28
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
GitHub only
Median days to close, 50 most recently updated closed PRs
GitHub only
PracticesBeta

Repository codeberg.org/dgkf/options is linked, but repository-practices checks have not run for it yet. Checks are GitHub-only for now.

How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing options adds no packages beyond those that come with R.

Depends (0)
none
Imports (1)
utils
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
4direct
0indirect
Imports 4
Depends, Imports or LinkingTo, most downloaded first

People & History

People (1)
Author, Maintainer since 0.0.1 (2023)
Releases (6)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.3.1Latest
    record
    2025-03-29 · current release · diff ↗
  • 0.3.0
    record
    2024-12-12 · diff ↗ ·
    added 1 export
    opts_list
  • 0.2.0
    record
    2024-05-12 · diff ↗ ·
    added 1 export
    get_options_env
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.0
    record
    2024-01-29 · diff ↗ ·
    added 2 exports
    opt<-, opt_set
  • 0.0.2
    record
    2023-08-07 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.0.1
    record
    2023-01-09
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2023-01-09
Total releases
6 / 3 yrs
License
MIT + file LICENSE OSI
Download size
54 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("options")
Kelkhoff, D. (2025). options: Simple, Consistent Package Options (Version 0.3.1) [Computer software]. https://doi.org/10.32614/CRAN.package.options

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for options version 0.3.1 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy