Skip to content

FFTrees

2.1.0

Generate, Visualise, and Evaluate Fast-and-Frugal Decision Trees

0packages depend
10Kdownloads / year
67.0%test coverage
13/13checks pass

Overview

About
Maintained by Hansjoerg NethFirst published 2016-07-1223 releasesCRAN page ↗GitHub ↗

Create, visualize, and test fast-and-frugal decision trees (FFTs) using the algorithms and methods described by Phillips, Neth, Woike & Gaissmaier (2017), doi:10.1017/S1930297500006239. FFTs are simple and transparent decision trees for solving binary classification problems. FFTs can be preferable to more complex algorithms because they require very little information, are easy to understand and communicate, and are robust against overfitting.

Install

Health

CRAN checks
13OK
Slowest check: 10.2 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.04
67.0%
Coverage · measured lines
100%
Documentation · exports
9
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-02
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-25
    11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 1,913 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
97%
Return-value docs
100%
References docs
13%

Downloads

10K
CRAN downloads in the past year
Rank #9,684 · ~27/day · ~836/mo
Daily download trend is not available in this view yet.
31730 days
1.1K90 days
10K1 year
Compare downloads with other packages →
Also on155 r2u33 autocran2.3K conda_forge

Repository

Repository
137Stars
25Forks
13Open issues
1Open PRs
9Releases
2,270Commits
10Contributors
2,270 commits · Last activity 2026-05-02 · 0% stars, 30d

Stars over time

2025-03-03 · 1342026-07-07 · 137

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/ndphillips/fftrees on 2026-07-19.

Continuous integration (1)
GitHub Actions
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 15,708 (66%)Rd 3,274 (14%)Vignettes 2,729 (11%)Other 2,094 (9%)
Code characteristics
Object systems
S34
Cyclomatic complexity
5.0 median / 130 max
Test cases
19 / 0.04 per code line

Test coverage

Line coverage

67%

Expression

60.5%

Tests / Examples

67.0% / 68% ex

Functions

71 25 exported

Complexity

10.5 avg / 130 max

Call network

71 nodes / 101 edges

Loading call graph…

Lowest coverage

71 functions
FunctionCycloCoverage
FFTrees.guide exp10%
describe_data exp10%
inwords exp30%
select_nodes exp110%
add_quotes10%
all_combinations60%

Datasets

Bundled datasets · 16
NameClassRows × ColsAlso ships in
blooddata.frame748 × 5
breastcancertbl_df/tbl/data.frame683 × 10
cardata.frame1,728 × 7
contraceptivedata.frame1,473 × 10
creditapprovaldata.frame690 × 16
fertilitydata.frame100 × 10
forestfiresdata.frame517 × 13
heart.testtbl_df/tbl/data.frame153 × 14
heart.traintbl_df/tbl/data.frame150 × 14
heartdiseasetbl_df/tbl/data.frame303 × 14
iris.vdata.frame150 × 5
mushroomsdata.frame8,124 × 23
sonardata.frame208 × 61
titanicdata.frame2,201 × 4
votingdata.frame434 × 17
winedata.frame6,497 × 13

People & History

People (4)
Maintainer (1)
Author, Maintainer · added in 1.3.2
Authors (4)
Author, Maintainer · added in 1.3.2
Author · added in 1.7.0
Author · added in 1.3.2
Listed in earlier versions (1)
no longer listed · 1.3.2 to 1.6.6
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 2.1.0Latest
    2025-09-03 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 2.0.0
    2023-06-06 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.9.0
    2023-02-08 · diff ↗
  • 1.8.0
    2023-01-06 · diff ↗
  • 1.7.5
    2022-09-15 · diff ↗
  • 1.7.0
    2022-08-31 · diff ↗
  • 1.6.6
    2022-07-18 · diff ↗
  • 1.6.5
    2022-07-18 · diff ↗
  • unarchivedReturned to CRAN
    2022-07-18
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • archivedRemoved from CRAN
    2020-07-23
    check problems were not corrected in time
Show 22 earlier events
  • 1.5.5
    2020-06-08 · diff ↗
  • unarchivedReturned to CRAN
    2020-06-08
  • R
    R 4.0.0 released · 2020-04-24
  • archivedRemoved from CRAN
    2020-03-07
    check problems were not corrected despite reminders
  • R
    R 3.6.0 released · 2019-04-26
  • 1.4.0
    2018-09-15 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 1.3.5
    2017-11-02 · diff ↗
  • 1.3.4
    2017-08-28 · diff ↗
  • 1.3.3
    2017-07-11 · diff ↗
  • 1.3.2
    2017-06-28 · diff ↗
  • 1.2.3
    2017-05-04 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 1.2.2
    2017-04-18 · diff ↗
  • 1.1.8
    2016-10-08 · diff ↗
  • 1.1.6
    2016-09-10 · diff ↗
  • 1.1.4
    2016-08-23 · diff ↗
  • 1.1.3
    2016-08-16 · diff ↗
  • 1.1.1
    2016-07-22 · diff ↗
  • 1.1.0
    2016-07-19 · diff ↗
  • 1.0.1
    2016-07-12
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2016-07-12
Total releases
23 / 10 yrs
License
CC0
Minimum R
≥ 3.5.0
Bundled data
240 KB / 17 files
Download size
3.2 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →