Skip to content

partykit

1.3-0Package record

A Toolkit for Recursive Partytioning

56packages dependsuggested by 35
366.1Kdownloads / year
60.1%test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.3-0

Other

  • Got rid of manual registration procedures and import or attach all necessary generics.
  • Stopped calling methods directly in tests.
  • Try to stop exporting methods directly. Infrastructure for deprecation in place, but talk to package authors first. Please avoid calling things like plot.modeltree(x) in your code or package, use plot(x) for properly classed objects x.

Misc

  • Illustrations using the PimaIndiansDiabetes data from mlbench have been adapted to use the SynthDiabetes data instead because the former data are not shared in mlbench and the UCI Machine Learning Repository anymore.

From inst/NEWS.Rd in the release

Install

Health

CRAN checks
13OK
Slowest check: 9.2 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-30
  • ERROR10 OK, 3 ERROR2026-07-25
  • OK13 OK2026-07-22
  • NOTE9 OK, 4 NOTE2026-07-11
  • OK13 OK2026-06-09
Show 8 earlier changesHide 8 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-04-20
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-04-06
  • NOTE13 OK, 1 NOTE2026-04-04
  • OK14 OK2026-03-25
  • NOTE13 OK, 1 NOTE2026-03-15
  • WARNING11 OK, 2 NOTE, 1 WARNING2026-03-10
Advisories

none known

Documentation

In release 1.3-0
READMENoVignettesYes · 4 · dynamicNEWSYes · mentions 1.3-0Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
25
Examples that run
100%19 run in a plain check
Exported functions with examples
74%
Documented parameters
83%
Return-value docs
83%
Help pages citing references
56% with a bibliography file

Also includes 1 demo script (run with demo())

Downloads

366.1K
CRAN downloads in the past year
Rank #679 · ~1K/day · ~30.5K/mo
Daily download trend is not available in this view yet.
31.3K30 days
80.2K90 days
366.1K1 year
Compare downloads with other packages →
Also on6.4K r2u180 autocran15.5K conda_forge1K c2d4u

Repository

PracticesBeta

Repository codeberg.org/thothorn/partykit is linked, but repository-practices checks have not run for it yet. Checks are GitHub-only for now.

How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
20 external dependencies (excludes base and recommended)

Installing partykit adds 7 packages (4 with compiled code, 4.7 MB of source tarballs). Heaviest: sandwich 1.4 MB, mvtnorm 1.0 MB, libcoin 886 KB.

Depends (5)
R >= 4.0.0graphicsgridlibcoinmvtnorm
Imports (9)
grDevicesstatsutilssurvivalFormulainumrpartstrucchangeutils
LinkingTo (0)
none
Enhances (0)
none

Datasets

People & History

People (3)
Author, Maintainer since 0.1-1 (2011)
Contributor · added in 1.2-0
Releases (55)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • 3.0.2Latest
    record
    2013-09-03 · current release · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 3.0.0
    record
    2013-03-22 · diff ↗
Show 56 earlier eventsHide 56 earlier events

Package metadata

First published
2011-09-29
Total releases
55 / 15 yrs
License
GPL-2 | GPL-3 OSI
Minimum R
≥ 4.0.0
Bundled data
0.9 KB / 2 files
Download size
2.1 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("partykit")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1198/106186006x133933, 10.1198/106186008x319331.

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 partykit version 1.3-0 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-19, 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