The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

lorax: Speak for the Trees

Extracts decision rules from tree- and rule-based models fitted in 'R'. Rules are expressed as logical predicates that identify paths to terminal nodes, making model behavior more transparent and interpretable. Provides conversion methods to 'partykit' party objects for a wide range of model types. The 'partykit' infrastructure is described in Hothorn and Zeileis (2015) <https://jmlr.org/papers/v16/hothorn15a.html>.

Version: 0.1.0
Depends: R (≥ 4.3.0)
Imports: cli, dplyr, generics, partykit, purrr, rlang (≥ 1.1.0), tibble
Suggests: aorsf, C50, Cubist, dbarts, grf, knitr, lightgbm, modeldata, palmerpenguins, randomForest, ranger, rpart, spelling, testthat (≥ 3.0.0), tidyr, xgboost
Published: 2026-07-16
DOI: 10.32614/CRAN.package.lorax (may not be active yet)
Author: Max Kuhn ORCID iD [aut, cre], Posit Software, PBC ROR ID [cph, fnd]
Maintainer: Max Kuhn <max at posit.co>
BugReports: https://github.com/tidymodels/lorax/issues
License: MIT + file LICENSE
URL: https://github.com/tidymodels/lorax
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: lorax results

Documentation:

Reference manual: lorax.html , lorax.pdf

Downloads:

Package source: lorax_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): lorax_0.1.0.tgz, r-oldrel (arm64): lorax_0.1.0.tgz, r-release (x86_64): lorax_0.1.0.tgz, r-oldrel (x86_64): lorax_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=lorax to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.