summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorson0p <fede2001@gmail.com>2022-05-02 13:02:00 -0500
committerRicardo Wurmus <rekado@elephly.net>2022-12-29 22:43:24 +0100
commit74ef7fd9a33f48f5ad8db5d22fbb7116f0a5aa6a (patch)
tree4eaa467a5c287a527ced79920a2260ca256f2b3e /gnu
parent11fce2ddd7e3fbf8bb7402b09177252db6fae53e (diff)
downloadguix-74ef7fd9a33f48f5ad8db5d22fbb7116f0a5aa6a.tar.gz
gnu: Add r-treemap.
* gnu/packages/cran.scm (r-treemap): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 42b19e7d30..e2942064fe 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -24806,6 +24806,34 @@ dissimilarity useful for clustering mixed data, and, optionally, perform the
 clustering.")
     (license license:gpl2+)))
 
+(define-public r-treemap
+  (package
+    (name "r-treemap")
+    (version "2.4-3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "treemap" version))
+       (sha256
+        (base32 "1fg8gygw38x7msn32barx2irvcv8flm6wqvipnbj1qkh9w89y3q4"))))
+    (properties `((upstream-name . "treemap")))
+    (build-system r-build-system)
+    (propagated-inputs
+     (list r-colorspace
+           r-data-table
+           r-ggplot2
+           r-gridbase
+           r-igraph
+           r-rcolorbrewer
+           r-shiny))
+    (native-inputs (list r-knitr))
+    (home-page "https://cran.r-project.org/package=treemap")
+    (synopsis "Treemap visualization")
+    (description
+     "A treemap is a space-filling visualization of hierarchical structures.
+This package offers great flexibility to draw treemaps.")
+    (license license:gpl3+)))
+
 (define-public r-acrosstic
   (package
     (name "r-acrosstic")