Skip to content

rpart

4.1.27Package record

Recursive Partitioning and Regression Trees

143packages dependsuggested by 166
1.2Mdownloads / year
75.1%test coverage
12/13flavors OK

Overview

About

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
1NOTE12OK
Check messages
NOTEcompiled coder-devel-windows-x86_64
Note: information on .o files for x64 is not available
File 'd:/Rcompile/CRANpkg/lib/4.7/rpart/libs/x64/rpart.dll':
  Found '_exit', possibly from '_exit' (C)
  Found 'abort', possibly from 'abort' (C), 'runtime' (Fortran)

Compiled code should not call entry points which might terminate R nor
write to stdout/stderr instead of to the console, nor use Fortran I/O
nor system RNGs nor [v]sprintf. The detected symbols are linked into
the code but might come from libraries and not actually be called.

See 'Writing portable packages' in the 'Writing R Extensions' manual.

CRAN check page ↗

Slowest check: 3.2 min · r-devel-windows-x86_64
Status changes
  • NOTE12 OK, 1 NOTE2026-10-15
  • OK13 OK2026-09-12
  • NOTE12 OK, 1 NOTE2026-09-09
  • OK13 OK2026-09-04
  • NOTE12 OK, 1 NOTE2026-08-31
Show 10 earlier changesHide 10 earlier changes
  • OK13 OK2026-08-20
  • NOTE12 OK, 1 NOTE2026-08-12
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-04
  • NOTE12 OK, 1 NOTE2026-07-03
  • OK14 OK2026-04-01
  • WARNING9 OK, 4 NOTE, 1 WARNING2026-03-21
  • NOTE13 OK, 1 NOTE2026-03-17
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 4.1.27
READMEYes · 133 wordsVignettesYes · 2 · dynamicNEWSYes · does not mention 4.1.27Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
28 (1 internal)
Examples that run
90%19 run in a plain check · 2 never run
Exported functions with examples
69%
Documented parameters
88%
Return-value docs
69%
Help pages citing references
11%

Downloads

1.2M
CRAN downloads in the past year
Rank #341 · ~3.3K/day · ~101.7K/mo
Daily download trend is not available in this view yet.
95.2K30 days
293.8K90 days
1.2M1 year
Compare downloads with other packages →
Also on89.4K r2u5.7K autocran500.3K conda_forge2K c2d4u

Repository

57Stars
28Forks
17Open issues
1Open PRs
0Releases
83Commits
18Commit identities
rcranstatisticsclassificationcart
83 commits · Last activity 2026-09-10 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
87%
Median days to close, 50 most recently updated closed issues
322
Median days to close, 50 most recently updated closed PRs
6

Stars over time

2025-07-11 · 542026-09-12 · 57
PracticesBeta

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

Checks run against github.com/bethatkinson/rpart on 2026-10-11.

CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)

Installing rpart adds no packages beyond those that come with R.

Depends (4)
R >= 2.15.0graphicsstatsgrDevices
Imports (0)
none
LinkingTo (0)
none
Suggests (1)
survival
Enhances (0)
none

Datasets

People & History

People (3)
Author, Maintainer since 4.1-13 (2018) · added in 3.1-55
Author · added in 3.1-55
Translator · added in 3.1-55
producer of the initial R port, maintainer 1999-2017

Previously maintained by Brian Ripley (2.0-3 to 4.1-12).

Listed in earlier versions (3)
Show 3 peopleHide 3 people
no longer listed · 1.0-6 to 3.1-50
no longer listed · 1.0-6 to 3.1-54
Brian Ripley. Note that maintainers are not available to give advice on using a package they did not author.
no longer listed · 3.1-51 to 3.1-54
Releases (85)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 4.1.27Latest
    record
    2026-03-27 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 4.1.24
    record
    2025-01-07 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 4.1.23
    record
    2023-12-05 · diff ↗
  • 4.1.21
    record
    2023-10-10 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 4.1.19
    record
    2022-10-21 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 4.1.16
    record
    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
    record
    2019-04-12 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
Show 104 earlier eventsHide 104 earlier events

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

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

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