Skip to content

evtree

1.0-8

Evolutionary Learning of Globally Optimal Trees

4packages depend
54.9Kdownloads / year
test coverage
11/13checks pass

Overview

About
Maintained by Thomas GrubingerFirst published 2011-09-3015 releasesCRAN page ↗

Commonly used classification and regression tree methods like the CART algorithm are recursive partitioning methods that build the model in a forward stepwise search. Although this approach is known to be an efficient heuristic, the results of recursive tree methods are only locally optimal, as splits are chosen to maximize homogeneity at the next step only. An alternative way to search over the parameter space of trees is to use global optimization methods like evolutionary algorithms. The 'evtree' package implements an evolutionary algorithm for learning globally optimal classification and regression trees in R. CPU and memory-intensive tasks are fully computed in C++ while the 'partykit' package is leveraged to represent the resulting trees in R, providing unified infrastructure for summaries, visualizations, and predictions.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 4.5 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 1.44
not tracked
Coverage
100%
Documentation · exports
1
Dependencies · direct
Check history
  • NOTE2026-06-27
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-06-14
    10 OK · 2 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 0% structuredCode of conductNoContributing guideNo
Examples that run
83%
Documented parameters
52%
Return-value docs
100%
References docs
57%

Downloads

54.9K
CRAN downloads in the past year
Rank #2,131 · ~150/day · ~4.6K/mo
Daily download trend is not available in this view yet.
2.7K30 days
10.5K90 days
54.9K1 year
Compare downloads with other packages →
Also on476 r2u16 autocran91 c2d4u

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)
Depends (2)
R >= 3.3.0partykit
Imports (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
4direct
0indirect

Code & Tests

Datasets

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Package Timeline

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

  • 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
  • 1.0-8Latest
    2019-05-26 · current release · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.0-7
    2018-05-23 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 1.0-6
    2017-12-15 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 1.0-5
    2017-04-06 · diff ↗
  • 1.0-4
    2017-04-02 · diff ↗
  • 1.0-3
    2017-03-31 · diff ↗
Show 16 earlier events
  • 1.0-2
    2017-01-24 · diff ↗
  • 1.0-1
    2016-10-14 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • 1.0-0
    2014-10-15 · diff ↗
  • 0.1-5
    2014-07-01 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 0.1-4
    2013-11-26 · diff ↗
  • 0.1-3
    2013-06-17 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 0.1-2
    2012-04-11 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • R
    R 2.14.0 released · 2011-10-31
  • 0.1-1
    2011-10-02 · diff ↗
  • 0.1-0
    2011-09-30
  • R
    R 2.13.0 released · 2011-04-13

Package metadata

First published
2011-09-30
Total releases
15 / 15 yrs
License
GPL-2 | GPL-3 OSI
Minimum R
≥ 3.3.0
Bundled data
517 KB / 5 files
Download size
1.3 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("evtree")
Grubinger, T., Pfeiffer, K., & Zeileis, A. (2019). evtree: Evolutionary Learning of Globally Optimal Trees (Version 1.0-8) [Computer software]. https://doi.org/10.32614/CRAN.package.evtree

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

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