gnu: Add r-data-tree.

* gnu/packages/cran.scm (r-data-tree): New variable.
This commit is contained in:
Ricardo Wurmus 2021-02-04 21:22:59 +01:00
parent c4bb48958d
commit 6f1b958e1a
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -6664,6 +6664,33 @@ (define-public r-rgexf
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")