{
  "_id": "6a47910a8b9f0d9747cf19e3",
  "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-07-02 09:11:48 UTC",
    "User": "root"
  },
  "Author": "Doug Kelkhoff [aut, cre]",
  "Maintainer": "Doug Kelkhoff <doug.kelkhoff@gmail.com>",
  "_user": "dgkf",
  "_type": "src",
  "_file": "options_0.3.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/0d13e180c5f5416f994b82965070e4149526a14457d6f98063ea101467369c25",
  "_filesize": 184220,
  "_sha256": "0d13e180c5f5416f994b82965070e4149526a14457d6f98063ea101467369c25",
  "_expires": "2026-10-11T10:38:01.000Z",
  "_created": "2026-07-02T09:11:48.000Z",
  "_published": "2026-07-03T10:38:02.539Z",
  "_jobs": [
    {
      "job": 84982224669,
      "time": 136,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "8034151466"
    },
    {
      "job": 84982224812,
      "time": 116,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8034143376"
    },
    {
      "job": 84982224681,
      "time": 166,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "8034163268"
    },
    {
      "job": 84982224622,
      "time": 97,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8034135664"
    },
    {
      "job": 84982223975,
      "time": 177,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8034095374"
    },
    {
      "job": 84982224512,
      "time": 96,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8034135314"
    },
    {
      "job": 84982224877,
      "time": 76,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8034127212"
    },
    {
      "job": 84982224600,
      "time": 66,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8034122890"
    },
    {
      "job": 84982224413,
      "time": 61,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8034121036"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/dgkf/actions/runs/28578665778",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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",
    "followers": 116
  },
  "_downloads": {
    "count": 1522,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/options"
  },
  "_devurl": "https://codeberg.org/dgkf/options",
  "_pkgdown": "https://dgkf.github.io/options/",
  "_searchresults": 2264,
  "_rbuild": "4.6.1",
  "_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",
    "LICENSE",
    "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.6164723209984135,
  "_indexed": true,
  "_nocasepkg": "options",
  "_universes": [
    "dgkf",
    "codeberg-dgkf"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-07-02T09:14:00.000Z",
      "distro": "resolute",
      "commit": "3de5a6e8dcc94dfa744b8f658b2a43816f53edd4",
      "fileid": "https://r2.ropensci.org/3426aef4e15631279eb53e1ab0a3c33f227804ccf4be4de256edb4be08e66684",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgkf/actions/runs/28578665778"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-07-02T09:13:39.000Z",
      "distro": "resolute",
      "commit": "3de5a6e8dcc94dfa744b8f658b2a43816f53edd4",
      "fileid": "https://r2.ropensci.org/0af27df22b24577927173b39f03abf4a592a29f685b88a2474544faf53f2bc3e",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgkf/actions/runs/28578665778"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-07-02T09:14:05.000Z",
      "commit": "3de5a6e8dcc94dfa744b8f658b2a43816f53edd4",
      "fileid": "https://r2.ropensci.org/32627405d1e971a0018df24de411b71adb0d055bdb12ec23e0f11eac01d198b8",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgkf/actions/runs/28578665778"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-07-02T09:13:22.000Z",
      "commit": "3de5a6e8dcc94dfa744b8f658b2a43816f53edd4",
      "fileid": "https://r2.ropensci.org/59c35f4ecc2e6f03b70fa9b5437bd35d70a147982db08e47b73c6cbfe5da1e18",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgkf/actions/runs/28578665778"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.1",
      "date": "2026-07-02T09:13:40.000Z",
      "commit": "3de5a6e8dcc94dfa744b8f658b2a43816f53edd4",
      "fileid": "https://r2.ropensci.org/2887e9acb9e739bfd4c52b67c7a47e1b06e6466117b3efee9b4df67e0c79ae00",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dgkf/actions/runs/28578665778"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-07-02T09:12:58.000Z",
      "commit": "3de5a6e8dcc94dfa744b8f658b2a43816f53edd4",
      "fileid": "https://r2.ropensci.org/14ae643989155e5629af6eb9142665d04406e7d57428f2ea614ca861c767d2d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dgkf/actions/runs/28578665778"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-07-02T09:12:50.000Z",
      "commit": "3de5a6e8dcc94dfa744b8f658b2a43816f53edd4",
      "fileid": "https://r2.ropensci.org/63c8f34e53c5b356383dfbe9b4e5e383385927880dd265985894917b5be20d1a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dgkf/actions/runs/28578665778"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-07-02T09:12:47.000Z",
      "commit": "3de5a6e8dcc94dfa744b8f658b2a43816f53edd4",
      "fileid": "https://r2.ropensci.org/7b57c2963503b47813f8c15d5605f9c3b16aa0898511c487a2563215a4963ec9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dgkf/actions/runs/28578665778"
    }
  ]
}