From 6f1b958e1a9c9a148172715ccbed304077b6d2d7 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 4 Feb 2021 21:22:59 +0100 Subject: gnu: Add r-data-tree. * gnu/packages/cran.scm (r-data-tree): New variable. --- gnu/packages/cran.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/cran.scm') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 34714677d7..e650c56536 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -6664,6 +6664,33 @@ data-frames, visualize the graph on a web browser through gexf-js (a JavaScript library) and interact with the igraph package.") (license license:expat))) +(define-public r-data-tree + (package + (name "r-data-tree") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "data.tree" version)) + (sha256 + (base32 + "0pizmx2312zsym4m42b97q2184bg3hibvbdrblcga05xln84qrs0")))) + (properties `((upstream-name . "data.tree"))) + (build-system r-build-system) + (propagated-inputs + `(("r-r6" ,r-r6) + ("r-stringi" ,r-stringi))) + (native-inputs + `(("r-knitr" ,r-knitr))) + (home-page "http://github.com/gluc/data.tree") + (synopsis "General purpose hierarchical data structure") + (description + "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. This is useful for decision trees, machine learning, +finance, conversion from and to JSON, and many other applications.") + (license license:gpl2+))) + (define-public r-rappdirs (package (name "r-rappdirs") -- cgit 1.4.1