Skip to content

partykit

1.3-1Package record

A Toolkit for Recursive Partytioning

56packages dependsuggested by 35
365.6Kdownloads / year
60.4%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-1

Documentation

  • Argument fraction in cforest was incorrectly documented, interchanging the proportions used for tree induction and for parameter estimation. A corresponding test of documented behaviour was added. Reported by Lisa Schlosser and colleagues at DataLabHell.
  • In the survreg example in vignette("mob", package = "partykit") it is no longer necessary to add a logLik.survreg method because this has been available in the survival package since version 2.37-6.

Bugfixes

  • Argument strata in cforest was silently ignored and works as advertised now. A corresponding test was added. Reported by Lisa Schlosser and colleagues at DataLabHell.
  • Overflow when predicting from forests with total number of nodes exceeding the sample size. A corresponding test was added. Reported by Lisa Schlosser and colleagues at DataLabHell.
  • Argument cluster in mob was not passed correctly to the fit function (reported by Lisa Schlosser and colleagues at DataLabHell). This was inconsequential for all examples in the package because cluster was only used for testing but not fitting the models.
  • Model weights were not preserved correctly in some cases in as.constparty (reported by Lisa Schlosser and colleagues at DataLabHell).

Other

  • Reduce memory footprint when fitting forests in parallel, thanks to Henrik Bengtsson.

From inst/NEWS.Rd in the release

Install

Health

CRAN checks
13OK
Slowest check: 7.7 min · r-devel-windows-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-1
READMENoVignettesYes · 4 · dynamicNEWSYes · mentions 1.3-1Citation 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

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

Repository

0Stars
2Forks
1Open issues
0Open PRs
3,372Commits
18Commit identities
3,372 commits · Last activity 2026-10-19
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
GitHub only
Median days to close, 50 most recently updated closed PRs
GitHub only
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 v4 (2026-10-20)

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 (56)

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 57 earlier eventsHide 57 earlier events
Across CRAN, the median accepted release of the past year spent 26 hours in the queue, 90% under 11 days.How queue time is measured

Package metadata

First published
2011-09-29
Total releases
56 / 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-1 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

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