Skip to content

optree

0.1.1

Hierarchical Runtime Configuration Management

1packages depend
1.4Kdownloads / year
82.5%test coverage
13/13checks pass

Overview

About
Maintained by Bangou ZhengFirst published 2026-02-162 releasesCRAN page ↗GitHub ↗

Provides tools for managing nested, multi-level configuration systems with runtime mutability, type validation, and default value management. Supports creating hierarchical options managers with customizable validators for scalar and vector types (numeric, character, logical), enumerated values, bounded ranges, and complex structures like XY pairs. Options can be dynamically modified at runtime while maintaining type safety through validator functions, and easily reset to their default values when needed.

Install

Health

CRAN checks
13OK
Slowest check: 1.5 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 1.24
82.5%
Coverage · measured lines
100%
Documentation · exports
0
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 363 wordsVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

1.4K
CRAN downloads in the past year
Rank #19,387 · ~4/day · ~116/mo
Daily download trend is not available in this view yet.
15030 days
57690 days
1.4K1 year
Compare downloads with other packages →
Also on74 r2u8 autocran

Repository

Repository
0Stars
0Forks
0Open issues
0Open PRs
2Releases
15Commits
1Contributors
15 commits · Last activity 2026-03-03

Releases over time

2026-02-16 · 12026-07-07 · 2

Repository practices

Upstream repositoryBeta

2 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/byzheng/optree on 2026-08-09.

Continuous integration (1)
GitHub Actions
Lint, format, editor (1)
VS Code
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
Imports (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
1indirect

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.1Latest
    2026-03-03 · current release · diff ↗
  • 0.1.0
    2026-02-16
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-02-16
Total releases
2 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Download size
27 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("optree")
Zheng, B. (2026). optree: Hierarchical Runtime Configuration Management (Version 0.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.optree

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 optree version 0.1.1 [Data set]. HJJB, LLC. Data release v2026-08-13. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-13, 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