partykit
A Toolkit for Recursive Partytioning
Description
A toolkit with infrastructure for representing, summarizing, and visualizing tree-structured regression and classification models. This unified infrastructure can be used for reading/coercing tree models from different sources ('rpart', 'RWeka', 'PMML') yielding objects that share functionality for print()/plot()/predict() methods. Furthermore, new and improved reimplementations of conditional inference trees (ctree()) and model-based recursive partitioning (mob()) from the 'party' package are provided based on the new infrastructure. A description of this package was published by Hothorn and Zeileis (2015) <https://jmlr.org/papers/v16/hothorn15a.html>.
Downloads
33.3K
Last 30 days
639th
92.7K
Last 90 days
364.8K
Last year
Trend: +2.6% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 6, 2026
NOTE 13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 3, 2026
tests
Running ‘bugfixes.R’ [4s/5s] Comparing ‘bugfixes.Rout’ to ‘bugfixes.Rout.save’ ... OK Running ‘constparty.R’ [3s/5s] Comparing ‘constparty.Rout’ to ‘constparty.Rout.save’ ... OK Running ‘regtest-MIA.R’ [1s/2s] Comparing ‘regtest-MIA.Rout’ t ...[truncated]... 78 0.2458 0.2160 0.189 0.166 0.145 Running ‘regtest-split.R’ [2s/3s] Comparing ‘regtest-split.Rout’ to ‘regtest-split.Rout.save’ ... OK Running ‘regtest-weights.R’ [2s/2s] Comparing ‘regtest-weights.Rout’ to ‘regtest-weights.Rout.save’ ... OK
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 24, 2026
NOTE 13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 14, 2026
tests
Running ‘bugfixes.R’ [1s/1s] Comparing ‘bugfixes.Rout’ to ‘bugfixes.Rout.save’ ...1143c1143 < criterion -0.0004771838 -0.0004771838 --- > criterion -0.0001771838 -0.0001771838 Running ‘constparty.R’ [1s/1s] Comparing ‘constparty.Rout’ to ‘const ...[truncated]... o ‘regtest-party.Rout.save’ ... OK Running ‘regtest-split.R’ [0s/0s] Comparing ‘regtest-split.Rout’ to ‘regtest-split.Rout.save’ ... OK Running ‘regtest-weights.R’ [0s/0s] Comparing ‘regtest-weights.Rout’ to ‘regtest-weights.Rout.save’ ... OK
WARNING 11 OK · 2 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
tests
Running ‘bugfixes.R’ [1s/1s] Comparing ‘bugfixes.Rout’ to ‘bugfixes.Rout.save’ ... 1143c1143 < criterion -0.0004771838 -0.0004771838 --- > criterion -0.0001771838 -0.0001771838 Running ‘constparty.R’ [1s/1s] Comparing ‘constparty.Rout’ to ‘cons ...[truncated]... o ‘regtest-party.Rout.save’ ... OK Running ‘regtest-split.R’ [0s/0s] Comparing ‘regtest-split.Rout’ to ‘regtest-split.Rout.save’ ... OK Running ‘regtest-weights.R’ [0s/1s] Comparing ‘regtest-weights.Rout’ to ‘regtest-weights.Rout.save’ ... OK
Rd files
prepare_Rd: ./man/HuntingSpiders.Rd:39: unknown macro '\bibcitet'
prepare_Rd: ./man/HuntingSpiders.Rd:40: unknown macro '\bibcitet'
checkRd: (-1) HuntingSpiders.Rd:39: Lost braces
39 | The data were originally analyzed by \bibcitet{partykit::Va
...[truncated]...
t{partykit::Strobl+Boulesteix+Kneib:2008} for details.
| ^
checkRd: (-1) varimp.Rd:70: Lost braces
70 | described in \bibcitet{partykit::Hapfelmeier_Hothorn_Ulm_Strobl_2014} is performed.
| ^
tests
Running ‘bugfixes.R’ [1s/1s] Comparing ‘bugfixes.Rout’ to ‘bugfixes.Rout.save’ ...1143c1143 < criterion -0.0004771838 -0.0004771838 --- > criterion -0.0001771838 -0.0001771838 Running ‘constparty.R’ [1s/1s] Comparing ‘constparty.Rout’ to ‘const ...[truncated]... o ‘regtest-party.Rout.save’ ... OK Running ‘regtest-split.R’ [0s/0s] Comparing ‘regtest-split.Rout’ to ‘regtest-split.Rout.save’ ... OK Running ‘regtest-weights.R’ [0s/0s] Comparing ‘regtest-weights.Rout’ to ‘regtest-weights.Rout.save’ ... OK