Skip to content

parttree

0.1.3Package record

Visualize Simple 2-D Decision Tree Partitions

0packages depend
5.5Kdownloads / year
71.9%test coverage
13/13flavors OK

Overview

About

Visualize the partitions of simple decision trees, involving one or two predictors, on the scale of the original data. Provides an intuitive alternative to traditional tree diagrams, by visualizing how a decision tree divides the predictor space in a simple 2D plot alongside the original data. The 'parttree' package supports both classification and regression trees from 'rpart' and 'partykit', as well as trees produced by popular frontend systems like 'tidymodels' and 'mlr3'. Visualization methods are provided for both base R graphics and 'ggplot2'.

Changes in 0.1.3

No user-facing changes.

Internals

  • Update maintainer email address.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.4 min · r-release-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.3
READMEYes · 165 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 0.1.3Citation fileNoWebsiteYes · pkgdown
Help pages
3
Examples that run
100%3 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

5.5K
CRAN downloads in the past year
Rank #12,760 · ~15/day · ~455/mo
Daily download trend is not available in this view yet.
37130 days
87990 days
5.5K1 year
Compare downloads with other packages →
Also on92 r2u2 autocran

Repository

101Stars
24Forks
0Open issues
0Open PRs
3Releases
164Commits
5Commit identities
164 commits · Last activity 2026-03-31 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
457
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2025-07-15 · 992026-07-07 · 101
PracticesBeta

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

Checks run against github.com/grantmcdermott/parttree on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-03-31 · The repository has a site deploy workflow

pkgdown site last built 2026-03-31

CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)

Installing parttree adds 11 packages (7 with compiled code, 14 MB of source tarballs). Heaviest: data.table 5.7 MB, partykit 2.1 MB, sandwich 1.4 MB.

Depends (1)
R >= 4.1.0
Imports (7)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (4)
Author, Maintainer since 0.1.0 (2025)
Contributor
Contributor
Contributor
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.3Latest
    record
    2026-03-31 · current release · diff ↗
  • unarchivedReturned to CRAN
    2026-01-15
  • archivedRemoved from CRAN
    2026-01-15
    policy violation On Internet access
  • 0.1.2
    record
    2026-01-15 · diff ↗
  • 0.1.1
    record
    2025-05-10 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.0
    record
    2025-01-16
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2025-01-16
Total releases
4 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Download size
912 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("parttree")
McDermott, G., Kim, B. H., Silge, J., & Zeileis, A. (2026). parttree: Visualize Simple 2-D Decision Tree Partitions (Version 0.1.3) [Computer software]. https://doi.org/10.32614/CRAN.package.parttree

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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

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