{
  "_id": "6a1eb64db25058d4daade1fb",
  "Package": "options",
  "Title": "Simple, Consistent Package Options",
  "Version": "0.3.1",
  "Authors@R": "person(\n\"Doug\",\n\"Kelkhoff\",\nemail = \"doug.kelkhoff@gmail.com\",\nrole = c(\"aut\", \"cre\")\n)",
  "Description": "Simple mechanisms for defining and interpreting package\noptions. Provides helpers for interpreting environment\nvariables, global options, defining default values and more.",
  "License": "MIT + file LICENSE",
  "URL": "https://dgkf.github.io/options/, https://codeberg.org/dgkf/options",
  "BugReports": "https://codeberg.org/dgkf/options/issues",
  "Config/Needs/website": "pkgdown",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "Repository": "https://dgkf.r-universe.dev",
  "Date/Publication": "2025-03-28 21:02:12 UTC",
  "RemoteUrl": "https://codeberg.org/dgkf/options",
  "RemoteRef": "HEAD",
  "RemoteSha": "3de5a6e8dcc94dfa744b8f658b2a43816f53edd4",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-02 10:43:35 UTC",
    "User": "root"
  },
  "Author": "Doug Kelkhoff [aut, cre]",
  "Maintainer": "Doug Kelkhoff <doug.kelkhoff@gmail.com>",
  "MD5sum": "02bb0d6183d8e38354a0f1230f4701cb",
  "_user": "dgkf",
  "_type": "src",
  "_file": "options_0.3.1.tar.gz",
  "_fileid": "656039920865f3bb10f0b29d46fda55bbe51a4dda349ab450e34604c26567f92",
  "_filesize": 178909,
  "_sha256": "656039920865f3bb10f0b29d46fda55bbe51a4dda349ab450e34604c26567f92",
  "_created": "2026-06-02T10:43:35.000Z",
  "_published": "2026-06-02T10:54:05.082Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79053183279,
      "time": 121,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7355570694"
    },
    {
      "job": 79053183301,
      "time": 121,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7355570776"
    },
    {
      "job": 79053183277,
      "time": 78,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7355720763"
    },
    {
      "job": 79053183270,
      "time": 108,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7355726868"
    },
    {
      "job": 79052731011,
      "time": 165,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355529376"
    },
    {
      "job": 79053183275,
      "time": 92,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355560564"
    },
    {
      "job": 79053183313,
      "time": 72,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7355553913"
    },
    {
      "job": 79053183286,
      "time": 71,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7355553422"
    },
    {
      "job": 79053183415,
      "time": 61,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355550388"
    }
  ],
  "_buildurl": "https://github.com/r-universe/dgkf/actions/runs/26814483812",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://codeberg.org/dgkf/options",
  "_commit": {
    "id": "3de5a6e8dcc94dfa744b8f658b2a43816f53edd4",
    "author": "dgkf <dgkf@noreply.codeberg.org>",
    "committer": "dgkf <dgkf@noreply.codeberg.org>",
    "message": "Fix: null defaults, logical envvar parsing (#34)\n\nCloses #33\nCloses #32\n\n* Fixed `define_options` when using a `NULL` default value. Previously,\n  the `NULL` value would not be recognized and would silently ignore the\n  option definition. (@dgkf #34)\n\n* Fixed `envvar_is.logical` (and thereby, `envvar_is_true`, `envvar_is_false`),\n  leveraging `as.logical` internally to make the parsing from strings align\n  more closely to what one may expect in R. Notably, all lowercase values\n  `true` and `false` will now be recognized as their respective logical values.\n  (@dgkf #34)\n\nReviewed-on: https://codeberg.org/dgkf/options/pulls/34\n",
    "time": 1743195732
  },
  "_maintainer": {
    "name": "Doug Kelkhoff",
    "email": "doug.kelkhoff@gmail.com",
    "login": "dgkf",
    "mastodon": "@dgkf@fosstodon.org",
    "description": "",
    "uuid": 18220321
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "crayon",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    },
    {
      "package": "rcmdcheck",
      "role": "Suggests"
    },
    {
      "package": "pkgload",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "codeberg-dgkf",
  "_selfowned": true,
  "_usedby": 4,
  "_updates": [],
  "_tags": [],
  "_userbio": {
    "uuid": 18220321,
    "type": "user",
    "name": "Doug Kelkhoff"
  },
  "_downloads": {
    "count": 1649,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/options"
  },
  "_devurl": "https://codeberg.org/dgkf/options",
  "_pkgdown": "https://dgkf.github.io/options/",
  "_searchresults": 1728,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/options.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://codeberg.org/dgkf/options",
  "_realowner": "dgkf",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2023-01-09"
    },
    {
      "version": "0.0.2",
      "date": "2023-08-07"
    },
    {
      "version": "0.1.0",
      "date": "2024-01-29"
    },
    {
      "version": "0.2.0",
      "date": "2024-05-12"
    },
    {
      "version": "0.3.0",
      "date": "2024-12-12"
    },
    {
      "version": "0.3.1",
      "date": "2025-03-29"
    }
  ],
  "_exports": [
    "as_params",
    "as_roxygen_docs",
    "define_option",
    "define_options",
    "envvar_choice_of",
    "envvar_eval",
    "envvar_eval_or_raw",
    "envvar_is",
    "envvar_is_false",
    "envvar_is_one_of",
    "envvar_is_set",
    "envvar_is_true",
    "envvar_name_default",
    "envvar_name_generic",
    "envvar_str_split",
    "get_options_env",
    "opt",
    "opt_set",
    "opt_source",
    "opt<-",
    "option_name_default",
    "option_spec",
    "opts",
    "opts_list",
    "set_envvar_name_fn",
    "set_option_name_fn"
  ],
  "_help": [
    {
      "page": "as_params",
      "title": "Produce @param roxygen sections for options",
      "concept": [
        "options_roxygen2"
      ],
      "topics": [
        "as_params"
      ]
    },
    {
      "page": "as_roxygen_docs",
      "title": "Generate Standalone '?options' Documentation",
      "concept": [
        "options_roxygen2"
      ],
      "topics": [
        "as_roxygen_docs"
      ]
    },
    {
      "page": "defining_options",
      "title": "Defining Options",
      "topics": [
        "define_option",
        "define_options",
        "defining_options"
      ]
    },
    {
      "page": "envvar_fns",
      "title": "Generator functions for environment variable processors",
      "topics": [
        "envvar_choice_of",
        "envvar_eval",
        "envvar_eval_or_raw",
        "envvar_fns",
        "envvar_is",
        "envvar_is.character",
        "envvar_is.logical",
        "envvar_is.NULL",
        "envvar_is.numeric",
        "envvar_is_false",
        "envvar_is_one_of",
        "envvar_is_set",
        "envvar_is_true",
        "envvar_str_split"
      ]
    },
    {
      "page": "get_options_env",
      "title": "Retrieve options environment (experimental)",
      "topics": [
        "get_options_env",
        "get_options_env.default",
        "get_options_env.options_env",
        "get_options_env.options_list"
      ]
    },
    {
      "page": "naming",
      "title": "Define Naming Conventions",
      "topics": [
        "naming",
        "set_envvar_name_fn",
        "set_option_name_fn"
      ]
    },
    {
      "page": "naming_formats",
      "title": "Naming Convention Formatters",
      "concept": [
        "naming_formats"
      ],
      "topics": [
        "envvar_name_default",
        "envvar_name_generic",
        "naming_formats",
        "option_name_default"
      ]
    },
    {
      "page": "opt",
      "title": "Inspecting Option Values",
      "topics": [
        "opt",
        "opt<-",
        "opts",
        "opts_list",
        "opt_set",
        "opt_set_local",
        "opt_source"
      ]
    },
    {
      "page": "option_spec",
      "title": "Specify Option",
      "topics": [
        "option_spec"
      ]
    }
  ],
  "_readme": "https://codeberg.org/dgkf/options/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "envvars.Rmd",
      "filename": "envvars.html",
      "title": "Environment Variables",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Customizing names",
        "Setting Naming Rules",
        "Parsing Values",
        "Example"
      ],
      "created": "2022-12-22 01:23:34",
      "modified": "2022-12-22 01:23:34",
      "commits": 1
    },
    {
      "source": "options.Rmd",
      "filename": "options.html",
      "title": "options",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Defining Options",
        "Documentation",
        "Customizing Behaviors"
      ],
      "created": "2022-12-22 01:23:34",
      "modified": "2022-12-22 01:23:34",
      "commits": 1
    }
  ],
  "_score": 7.533945639835018,
  "_indexed": true,
  "_nocasepkg": "options",
  "_universes": [
    "dgkf",
    "codeberg-dgkf"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-06-02T10:45:34.000Z",
      "distro": "noble",
      "commit": "3de5a6e8dcc94dfa744b8f658b2a43816f53edd4",
      "fileid": "c4a510aceea297b76b7bbb306f8d95bf4e57234df3711a2f10a08328dd7322c5",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgkf/actions/runs/26814483812"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-06-02T10:45:32.000Z",
      "distro": "noble",
      "commit": "3de5a6e8dcc94dfa744b8f658b2a43816f53edd4",
      "fileid": "a7e9eb93a50817efc56d8725b0208d9276812d9a647c541549a6c160600739be",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgkf/actions/runs/26814483812"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-06-02T10:53:10.000Z",
      "commit": "3de5a6e8dcc94dfa744b8f658b2a43816f53edd4",
      "fileid": "ebda537469e1b3bebb638170c70ae64dc2e436bbc80f19ad1690230802b66595",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgkf/actions/runs/26814483812"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-06-02T10:53:23.000Z",
      "commit": "3de5a6e8dcc94dfa744b8f658b2a43816f53edd4",
      "fileid": "0604b84b7bee9fb90ab862be5cd8ac4af3b8d7292dc4b7d15803b06cfd7061fb",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgkf/actions/runs/26814483812"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.1",
      "date": "2026-06-02T10:45:23.000Z",
      "commit": "3de5a6e8dcc94dfa744b8f658b2a43816f53edd4",
      "fileid": "7d42fb846930fc5adb55e6d77611c785b8e91696ecbaca110b3839cfc11f7c42",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dgkf/actions/runs/26814483812"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-06-02T10:44:46.000Z",
      "commit": "3de5a6e8dcc94dfa744b8f658b2a43816f53edd4",
      "fileid": "06e619a48cab4f0236deb9a8c9fbd8a029a3c791e99eb5136b50c2eec569535e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dgkf/actions/runs/26814483812"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-06-02T10:44:44.000Z",
      "commit": "3de5a6e8dcc94dfa744b8f658b2a43816f53edd4",
      "fileid": "a8b3b33aa1cd56f4bbdfabeecabd60166bf738c8dcb6290b006d3901518237c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dgkf/actions/runs/26814483812"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-06-02T10:44:36.000Z",
      "commit": "3de5a6e8dcc94dfa744b8f658b2a43816f53edd4",
      "fileid": "163d5ce096fc8897b7ce3b778ff4ec4c0d311fa651762db676d33930e75ea8c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dgkf/actions/runs/26814483812"
    }
  ]
}