data.tree: General Purpose Hierarchical Data Structure

Create tree structures from hierarchical data, and traverse the tree in various orders. Aggregate, cumulate, print, plot, convert to and from data.frame and more. Useful for decision trees, machine learning, finance, conversion from and to JSON, and many other applications.

Version: 1.1.0
Depends: R (≥ 3.5)
Imports: R6, stringi, methods
Suggests: Formula, graphics, testthat, knitr, rmarkdown, ape, yaml, networkD3, jsonlite, treemap, party, partykit, doParallel, foreach, htmlwidgets, DiagrammeR (≥ 1.0.0), mockery, rpart
Enhances: igraph
Published: 2023-11-12
DOI: 10.32614/
Author: Russ Hyde [ctb] (improve dependencies), Chris Hammill [ctb] (improve getting), Facundo Munoz [ctb] (improve list conversion), Markus Wamser [ctb] (fixed some typos), Pierre Formont [ctb] (additional features), Kent Russel [ctb] (documentation), Noam Ross [ctb] (fixes), Duncan Garmonsway [ctb] (fixes), Christoph Glur [aut, cre] (R interface)
Maintainer: Christoph Glur <christoph.glur at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Materials: NEWS
CRAN checks: data.tree results


Reference manual: data.tree.pdf
Vignettes: Example applications of data.tree
Quick introduction to data.tree


Package source: data.tree_1.1.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): data.tree_1.1.0.tgz, r-oldrel (arm64): data.tree_1.1.0.tgz, r-release (x86_64): data.tree_1.1.0.tgz, r-oldrel (x86_64): data.tree_1.1.0.tgz
Old sources: data.tree archive

Reverse dependencies:

Reverse depends: GE, triversity
Reverse imports: behaviorchange, changepoints, Cluster.OBeu, collapsibleTree, CondCopulas, CovRegRF, directotree, echarty, filterNHP, forestry, gimme, HCD, htetree, icesTAF, justifier, LACE, LinTInd, nmarank, nonlinearICP, pmxTools, qlcData, radiant.model, randomForestSRC, ranktreeEnsemble, RFpredInterval, Rgff, rock, rocTree, SACCR, scAnnotatR, scicomptools, starvz, supportR, tabnet, TT, UnalR, UniprotR, VERSO, voronoiTreemap, webchem
Reverse suggests: ClassifyR, cola, covid19dbcand, DataPackageR, echarts4r, momentuHMM, shinyTree, SoilTaxonomy, styler, tidygraph, TKCat, wrMisc, wrTopDownFrag, yum


Please use the canonical form to link to this page.