{
  "_id": "6a1e763d1d7bb097a0a63d14",
  "Package": "optree",
  "Title": "Hierarchical Runtime Configuration Management",
  "Version": "0.1.1",
  "Authors@R": "person(\"Bangou\", \"Zheng\", , \"zheng.bangyou@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Provides tools for managing nested, multi-level\nconfiguration systems with runtime mutability, type validation,\nand default value management. Supports creating hierarchical\noptions managers with customizable validators for scalar and\nvector types (numeric, character, logical), enumerated values,\nbounded ranges, and complex structures like XY pairs. Options\ncan be dynamically modified at runtime while maintaining type\nsafety through validator functions, and easily reset to their\ndefault values when needed.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "URL": "https://optree.bangyou.me/, https://github.com/byzheng/optree",
  "BugReports": "https://github.com/byzheng/optree/issues",
  "Repository": "https://byzheng.r-universe.dev",
  "Date/Publication": "2026-03-03 00:28:18 UTC",
  "RemoteUrl": "https://github.com/byzheng/optree",
  "RemoteRef": "HEAD",
  "RemoteSha": "a464c9e2d05ac358e85ad9dc0c04b306bc8f59f0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-02 06:18:12 UTC",
    "User": "root"
  },
  "Author": "Bangou Zheng [aut, cre]",
  "Maintainer": "Bangou Zheng <zheng.bangyou@gmail.com>",
  "MD5sum": "dc9bf56c6b4b9f6432568fba9d2a8c9c",
  "_user": "byzheng",
  "_type": "src",
  "_file": "optree_0.1.1.tar.gz",
  "_fileid": "4edb9d4093e2ecf5ef1a7317572d14e58ae4d28b01ebbbbcc4337b139b8aba05",
  "_filesize": 126756,
  "_sha256": "4edb9d4093e2ecf5ef1a7317572d14e58ae4d28b01ebbbbcc4337b139b8aba05",
  "_created": "2026-06-02T06:18:12.000Z",
  "_published": "2026-06-02T06:20:45.479Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79011272433,
      "time": 121,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7350375842"
    },
    {
      "job": 79011272467,
      "time": 109,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7350373217"
    },
    {
      "job": 79011272452,
      "time": 92,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7350368774"
    },
    {
      "job": 79011272440,
      "time": 75,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7350364580"
    },
    {
      "job": 79010848059,
      "time": 211,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7350346975"
    },
    {
      "job": 79011272403,
      "time": 84,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7350366994"
    },
    {
      "job": 79011272450,
      "time": 70,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": ""
    },
    {
      "job": 79011272437,
      "time": 69,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7350363463"
    },
    {
      "job": 79011272492,
      "time": 70,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7350363392"
    }
  ],
  "_buildurl": "https://github.com/r-universe/byzheng/actions/runs/26753837879",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/byzheng/optree",
  "_commit": {
    "id": "a464c9e2d05ac358e85ad9dc0c04b306bc8f59f0",
    "author": "Bangyou Zheng <zheng.bangyou@gmail.com>",
    "committer": "Bangyou Zheng <zheng.bangyou@gmail.com>",
    "message": "Add maxlen\n",
    "time": 1772497698
  },
  "_maintainer": {
    "name": "Bangou Zheng",
    "email": "zheng.bangyou@gmail.com",
    "login": "byzheng",
    "description": "Bangyou is a research scientist at CSIRO. His research interests include crop modelling, crop adaptation, high throughput phenotype, big data and R programming.",
    "uuid": 1657381
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "byzheng",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2026-07",
      "n": 12
    },
    {
      "week": "2026-08",
      "n": 2
    },
    {
      "week": "2026-10",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-02-16"
    },
    {
      "name": "0.1.1",
      "date": "2026-03-03"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "byzheng",
      "count": 15,
      "uuid": 1657381
    }
  ],
  "_userbio": {
    "uuid": 1657381,
    "type": "user",
    "name": "Bangyou Zheng",
    "description": "Bangyou is a research scientist at CSIRO. His research interests include crop modelling, crop adaptation, high throughput phenotype, big data and R programming."
  },
  "_downloads": {
    "count": 217,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/optree"
  },
  "_devurl": "https://github.com/byzheng/optree",
  "_pkgdown": "https://optree.bangyou.me/",
  "_searchresults": 3,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/optree.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/byzheng/optree",
  "_realowner": "byzheng",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-02-16"
    },
    {
      "version": "0.1.1",
      "date": "2026-03-03"
    }
  ],
  "_exports": [
    "create_options_manager",
    "v_character_scalar",
    "v_enum",
    "v_logical_scalar",
    "v_numeric_range",
    "v_numeric_scalar",
    "v_numeric_vector",
    "v_xypair"
  ],
  "_help": [
    {
      "page": "create_options_manager",
      "title": "Create a hierarchical, mutable options manager",
      "topics": [
        "create_options_manager"
      ]
    },
    {
      "page": "v_character_scalar",
      "title": "Validator for Character Scalar Values",
      "topics": [
        "v_character_scalar"
      ]
    },
    {
      "page": "v_enum",
      "title": "Validator for Enumerated Character Values",
      "topics": [
        "v_enum"
      ]
    },
    {
      "page": "v_logical_scalar",
      "title": "Validator for Logical Scalar Values",
      "topics": [
        "v_logical_scalar"
      ]
    },
    {
      "page": "v_numeric_range",
      "title": "Validator for Numeric Values Within a Range",
      "topics": [
        "v_numeric_range"
      ]
    },
    {
      "page": "v_numeric_scalar",
      "title": "Validator for Numeric Scalar Values",
      "topics": [
        "v_numeric_scalar"
      ]
    },
    {
      "page": "v_numeric_vector",
      "title": "Validator for Numeric Vectors",
      "topics": [
        "v_numeric_vector"
      ]
    },
    {
      "page": "v_xypair",
      "title": "Validator for XY Pair Lists",
      "topics": [
        "v_xypair"
      ]
    }
  ],
  "_readme": "https://github.com/byzheng/optree/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "validators.Rmd",
      "filename": "validators.html",
      "title": "Using Validators in optree",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Using Validators in optree",
        "Why Use Validators?",
        "Built-in Validators",
        "Scalar Validators",
        "v_numeric_scalar()",
        "v_logical_scalar()",
        "v_character_scalar()",
        "Range Validators",
        "v_numeric_range(min = -Inf, max = Inf)",
        "Vector Validators",
        "v_numeric_vector(min_len = 1, finite = TRUE)",
        "Choice Validators",
        "v_enum(choices)",
        "Structured Data Validators",
        "v_xypair(min_len = 1, max_len = NULL)",
        "Using Validators in Options Managers",
        "Validators with Hierarchical Options",
        "Writing Custom Validators",
        "Combining Multiple Validators",
        "Error Handling and Transactional Safety",
        "Summary"
      ],
      "created": "2026-02-09 11:30:13",
      "modified": "2026-03-03 00:28:18",
      "commits": 2
    }
  ],
  "_score": 4.954242509439325,
  "_indexed": true,
  "_nocasepkg": "optree",
  "_universes": [
    "byzheng"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-02T04:52:22.000Z",
      "commit": "a464c9e2d05ac358e85ad9dc0c04b306bc8f59f0",
      "fileid": "3e6918410684ffbf8092dfdf9238f7302c3bcd7bc688dfcadd89f7df8eef826b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/byzheng/actions/runs/25244077337"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-06-02T06:20:17.000Z",
      "distro": "noble",
      "commit": "a464c9e2d05ac358e85ad9dc0c04b306bc8f59f0",
      "fileid": "71b8d33a854ec62a36675b395e7a7378d3e47a2a400d56c19a0366acbce593be",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/byzheng/actions/runs/26753837879"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-06-02T06:20:09.000Z",
      "distro": "noble",
      "commit": "a464c9e2d05ac358e85ad9dc0c04b306bc8f59f0",
      "fileid": "e808b430d43e9c5b6a99d14287bb9258076df724cf05e965f26abd6f8d696e90",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/byzheng/actions/runs/26753837879"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-06-02T06:19:52.000Z",
      "commit": "a464c9e2d05ac358e85ad9dc0c04b306bc8f59f0",
      "fileid": "97a760a8f1f5b1c597a520235c362943a1c7c009880231ef1898e8e759e97815",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/byzheng/actions/runs/26753837879"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-06-02T06:19:36.000Z",
      "commit": "a464c9e2d05ac358e85ad9dc0c04b306bc8f59f0",
      "fileid": "86f0e22fd1cd3550e9ffcb2b18a970e090fc0693247bd0b58ad74f2487c60a9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/byzheng/actions/runs/26753837879"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-06-02T06:19:54.000Z",
      "commit": "a464c9e2d05ac358e85ad9dc0c04b306bc8f59f0",
      "fileid": "bef9f5271ca78870480c35f0e40b91e913d0c32534bb5ec8ca142b7eeaccd9fe",
      "status": "success",
      "buildurl": "https://github.com/r-universe/byzheng/actions/runs/26753837879"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-06-02T06:19:23.000Z",
      "commit": "a464c9e2d05ac358e85ad9dc0c04b306bc8f59f0",
      "fileid": "4cae6618d9033e3199b19ae08a50e832e1c02da8921ac49d392bb382c887fa1b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/byzheng/actions/runs/26753837879"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-06-02T06:19:23.000Z",
      "commit": "a464c9e2d05ac358e85ad9dc0c04b306bc8f59f0",
      "fileid": "faac38949c43db1e4cc4a71736900d03e81fc55a6692f02a3ad960ee7f1a1cf7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/byzheng/actions/runs/26753837879"
    }
  ]
}