Skip to content

rpart

4.1.27

Recursive Partitioning and Regression Trees

299packages depend
1.2Mdownloads / year
75.1%test coverage
13/13checks pass

Overview

About
Maintained by Beth AtkinsonFirst published 1999-04-0885 releasesCRAN page ↗GitHub ↗

Recursive partitioning for classification, regression and survival trees. An implementation of most of the functionality of the 1984 book by Breiman, Friedman, Olshen and Stone.

Install

Health

CRAN checks
13OK
Slowest check: 3.5 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 1.79
75.1%
Coverage · measured lines
100%
Documentation · exports
3
Dependencies · direct
Check history
  • OK2026-08-20
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-12
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 5 earlier snapshots
  • NOTE2026-07-03
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-01
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-03-21
    9 OK · 4 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-17
    13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 133 wordsVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
95%
Documented parameters
88%
Return-value docs
69%
References docs
11%

Downloads

1.2M
CRAN downloads in the past year
Rank #333 · ~3.2K/day · ~98.8K/mo
Daily download trend is not available in this view yet.
96.4K30 days
317.1K90 days
1.2M1 year
Compare downloads with other packages →
Also on44.2K r2u6.4K autocran480.3K conda_forge621 c2d4u

Repository

Repository
56Stars
27Forks
17Open issues
1Open PRs
0Releases
61Commits
11Contributors
rcranstatisticsclassificationcart
61 commits · Last activity 2026-06-02 · 0% stars, 30d

Stars over time

2025-07-11 · 542026-07-07 · 56

Repository practices

Upstream repositoryBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/bethatkinson/rpart on 2026-08-23.

CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)
Depends (4)
R >= 2.15.0graphicsstatsgrDevices
Imports (0)
none
LinkingTo (0)
none
Suggests (1)
survival
Enhances (0)
none

Code & Tests

Datasets

People & History

People (3)
Maintainer (1)
Author, Maintainer · added in 3.1-55
Authors (2)
Author, Maintainer · added in 3.1-55
Author · added in 3.1-55
Translators (1)
Translator · added in 3.1-55
Listed in earlier versions (4)
Package Timeline

85 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 4.1.27Latest
    2026-03-27 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 4.1.24
    2025-01-07 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 4.1.23
    2023-12-05 · diff ↗
  • 4.1.21
    2023-10-10 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 4.1.19
    2022-10-21 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 4.1.16
    2022-01-24 · diff ↗
  • 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
  • 4.1-15
    2019-04-12 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
Show 104 earlier events
  • 4.1-13
    2018-02-23 · diff ↗
  • 4.1-12
    2018-01-12 · diff ↗
  • 4.1-11
    2017-04-21 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 4.1-10
    2015-06-29 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 4.1-9
    2015-02-24 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 4.1-8
    2014-03-28 · diff ↗
  • 4.1-7
    2014-03-24 · diff ↗
  • 4.1-6
    2014-03-08 · diff ↗
  • 4.1-5
    2014-01-25 · diff ↗
  • 4.1-4
    2013-12-10 · diff ↗
  • 4.1-3
    2013-09-02 · diff ↗
  • 4.1-2
    2013-08-15 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 4.1-1
    2013-03-20 · diff ↗
  • 4.1-0
    2012-11-29 · diff ↗
  • 4.0-3
    2012-11-18 · diff ↗
  • 4.0-2
    2012-11-11 · diff ↗
  • 4.0-1
    2012-10-26 · diff ↗
  • 3.1-55
    2012-10-12 · diff ↗
  • 3.1-54
    2012-06-27 · diff ↗
  • 3.1-53
    2012-06-01 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 3.1-52
    2012-03-04 · diff ↗
  • 3.1-51
    2012-02-28 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • 3.1-50
    2011-04-13 · diff ↗
  • R
    R 2.13.0 released · 2011-04-13
  • 3.1-49
    2011-03-06 · diff ↗
  • 3.1-48
    2010-12-09 · diff ↗
  • 3.1-47
    2010-11-03 · diff ↗
  • R
    R 2.12.0 released · 2010-10-15
  • R
    R 2.11.0 released · 2010-04-22
  • 3.1-46
    2010-01-03 · diff ↗
  • R
    R 2.10.0 released · 2009-10-26
  • 3.1-45
    2009-08-05 · diff ↗
  • 3.1-44
    2009-05-24 · diff ↗
  • R
    R 2.9.0 released · 2009-04-17
  • 3.1-43
    2009-03-10 · diff ↗
  • 3.1-42
    2008-10-20 · diff ↗
  • R
    R 2.8.0 released · 2008-10-20
  • 3.1-41
    2008-04-22 · diff ↗
  • R
    R 2.7.0 released · 2008-04-22
  • 3.1-39
    2008-02-18 · diff ↗
  • 3.1-38
    2007-10-04 · diff ↗
  • R
    R 2.6.0 released · 2007-10-03
  • 3.1-37
    2007-07-28 · diff ↗
  • 3.1-36
    2007-06-13 · diff ↗
  • R
    R 2.5.0 released · 2007-04-24
  • 3.1-35
    2007-03-26 · diff ↗
  • 3.1-34
    2007-01-01 · diff ↗
  • 3.1-33
    2006-11-30 · diff ↗
  • 3.1-32
    2006-10-03 · diff ↗
  • R
    R 2.4.0 released · 2006-10-03
  • 3.1-31
    2006-09-07 · diff ↗
  • 3.1-30
    2006-09-04 · diff ↗
  • 3.1-29
    2006-04-24 · diff ↗
  • R
    R 2.3.0 released · 2006-04-24
  • 3.1-28
    2006-01-02 · diff ↗
  • 3.1-27
    2005-12-09 · diff ↗
  • 3.1-26
    2005-12-08 · diff ↗
  • 3.1-24
    2005-10-31 · diff ↗
  • R
    R 2.2.0 released · 2005-10-06
  • 3.1-23
    2005-04-19 · diff ↗
  • R
    R 2.1.0 released · 2005-04-18
  • 3.1-22
    2005-02-02 · diff ↗
  • 3.1-21
    2004-11-21 · diff ↗
  • 3.1-20
    2004-10-04 · diff ↗
  • R
    R 2.0.0 released · 2004-10-04
  • 3.1-19
    2004-08-12 · diff ↗
  • 3.1-18
    2004-08-04 · diff ↗
  • 3.1-17
    2004-08-01 · diff ↗
  • 3.1-16
    2004-06-07 · diff ↗
  • 3.1-15
    2004-04-12 · diff ↗
  • R
    R 1.9.0 released · 2004-04-12
  • 3.1-13
    2003-10-08 · diff ↗
  • R
    R 1.8.0 released · 2003-10-08
  • 3.1-12
    2003-04-16 · diff ↗
  • R
    R 1.7.0 released · 2003-04-16
  • 3.1-9
    2002-12-13 · diff ↗
  • R
    R 1.6.0 released · 2002-10-01
  • 3.1-8
    2002-06-20 · diff ↗
  • 3.1-7
    2002-06-05 · diff ↗
  • R
    R 1.5.0 released · 2002-04-29
  • 3.1-6
    2002-04-28 · diff ↗
  • 3.1-5
    2002-01-18 · diff ↗
  • 3.1-4
    2002-01-09 · diff ↗
  • 3.1-3
    2001-11-11 · diff ↗
  • 3.1-2
    2001-09-25 · diff ↗
  • 3.1-1
    2001-08-24 · diff ↗
  • 3.1-0
    2001-08-09 · diff ↗
  • 3.0-2
    2001-07-26 · diff ↗
  • 3.0-1
    2001-07-03 · diff ↗
  • 3.0-0
    2001-06-22 · diff ↗
  • 2.0-3
    2001-04-09 · diff ↗
  • 2.0-2
    2000-12-06 · diff ↗
  • 2.0-1
    2000-08-17 · diff ↗
  • 1.1-2
    2000-02-08 · diff ↗
  • 1.1-1
    2000-01-04 · diff ↗
  • 1.0-7
    1999-11-04 · diff ↗
  • 1.0-6
    1999-04-08

Package metadata

First published
1999-04-08
Total releases
85 / 27 yrs
License
GPL-2 | GPL-3 OSI
Minimum R
≥ 2.15.0
Bundled data
17 KB / 6 files
Download size
609 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("rpart")
Atkinson, B., Ripley, B., & Therneau, T. (2026). rpart: Recursive Partitioning and Regression Trees (Version 4.1.27) [Computer software]. https://doi.org/10.32614/CRAN.package.rpart

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 rpart version 4.1.27 [Data set]. HJJB, LLC. Data release v2026-08-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-23, 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