Skip to content

treeheatr

0.2.3

Heatmap-Integrated Decision Tree Visualizations

0packages depend
3.3Kdownloads / year
1.1%test coverage
13/13checks pass

Overview

About
Maintained by Trang LeFirst published 2020-06-173 releasesCRAN page ↗GitHub ↗

Creates interpretable decision tree visualizations with the data represented as a heatmap at the tree's leaf nodes. 'treeheatr' utilizes the customizable 'ggparty' package for drawing decision trees.

Install

Health

CRAN checks
13OK
Slowest check: 5.9 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.02
1.1%
Coverage · measured lines
100%
Documentation · exports
12
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-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 359 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
91%
Return-value docs
100%
References docs
0%

Downloads

3.3K
CRAN downloads in the past year
Rank #11,932 · ~9/day · ~274/mo
Daily download trend is not available in this view yet.
25630 days
89490 days
3.3K1 year
Compare downloads with other packages →
Also on127 r2u37 autocran846 conda_forge

Repository

Repository
60Stars
14Forks
1Open issues
0Open PRs
2Releases
276Commits
3Contributors
rheatmapdecision-treesvisualizationggplotdataviz
276 commits · Last activity 2026-02-11 · 0% stars, 30d

Stars over time

2025-04-12 · 582026-07-07 · 60

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/trangdata/treeheatr on 2026-07-19.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
13 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 1,307 (52%)Rd 964 (38%)Vignettes 235 (9%)
Code characteristics
Object systems
S31
Cyclomatic complexity
3.0 median / 7 max
Test cases
1 / 0.02 per code line

Test coverage

Line coverage

1%

Expression

2.4%

Tests / Examples

1.1% / 81% ex

Functions

27 6 exported

Complexity

3 avg / 7 max

Call network

27 nodes / 18 edges

Loading call graph…

Lowest coverage

27 functions
FunctionCycloCoverage
compute_tree exp30%
draw_heat exp70%
draw_tree exp40%
eval_tree exp10%
scale_norm exp10%
%||%20%

Datasets

Bundled datasets · 7
NameClassRows × ColsAlso ships in
diabetesspec_tbl_df/tbl_df/tbl/data.frame768 × 9
galaxydata.frame323 × 5
penguinsspec_tbl_df/tbl_df/tbl/data.frame344 × 7
test_covidtbl_df/tbl/data.frame110 × 4in 2 packages
train_covidtbl_df/tbl/data.frame351 × 4in 2 packages
winedata.frame178 × 14in 4 packages
wine_quality_reddata.frame1,599 × 12

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Copyright holders (1)
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.3Latest
    2026-01-29 · current release · diff ↗
  • 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
  • 0.2.1
    2020-11-19 · diff ↗
  • 0.1.0
    2020-06-17
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-06-17
Total releases
3 / 6 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.0
Bundled data
46 KB / 7 files
Download size
1.7 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →