From ecc631b825466e8d3b2ac881cfb068ba8ebda0f7 Mon Sep 17 00:00:00 2001 From: son0p Date: Mon, 2 May 2022 13:02:00 -0500 Subject: [PATCH] gnu Add r-treemap --- gnu/packages/cran.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 91c54bac9a..72a5fed3ed 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -36,6 +36,7 @@ ;;; Copyright © 2021 Marcel Schilling ;;; Copyright © 2021 Guillaume Le Vaillant ;;; Copyright © 2022 Navid Afkhami +;;; Copyright © 2022 Federico Lopez ;;; ;;; This file is part of GNU Guix. ;;; @@ -5118,6 +5119,34 @@ (define-public r-timedate calendar objects.") (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 + "This package provides a treemap is a space-filling visualization of hierarchical +structures. This package offers great flexibility to draw treemaps.") + (license license:gpl3+))) + (define-public r-magic (package (name "r-magic") -- 2.36.0