From f7c554dd7c39179d390db6f6d73c5a252092c392 Mon Sep 17 00:00:00 2001 From: Mădălin Ionel Patrașcu Date: Thu, 3 Feb 2022 19:38:03 +0100 Subject: gnu: Add r-ggside. * gnu/packages/cran.scm (r-ggside): New variable. Signed-off-by: Ricardo Wurmus --- gnu/packages/cran.scm | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 73bbf6defe..59e3296c45 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -11,7 +11,7 @@ ;;; Copyright © 2018 Sandeep Subramanian ;;; Copyright © 2018 Charlie Ritter ;;; Copyright © 2018 Konrad Hinsen -;;; Copyright © 2018, 2020, 2021 Mădălin Ionel Patrașcu +;;; Copyright © 2018, 2020, 2021, 2022 Mădălin Ionel Patrașcu ;;; Copyright © 2018 Laura Lazzati ;;; Copyright © 2018 Leo Famulari ;;; Copyright © 2018 Marius Bakke @@ -797,6 +797,32 @@ axis} (SMA), and @dfn{ranged major axis} (RMA).") respecting the grammar of its graphics paradigm.") (license license:gpl2+))) +(define-public r-ggside + (package + (name "r-ggside") + (version "0.2.0") + (source (origin + (method url-fetch) + (uri (cran-uri "ggside" version)) + (sha256 + (base32 + "1x505zizv7hf65pxp9j5v92c3bchhxh9dsrkk1m55kwqqnsl5nza")))) + (properties `((upstream-name . "ggside"))) + (build-system r-build-system) + (propagated-inputs (list r-ggplot2 r-glue r-gtable r-rlang r-scales)) + (native-inputs (list r-knitr)) + (home-page "https://cran.r-project.org/package=ggside") + (synopsis "Side grammar graphics that extends @code{ggplot2}") + (description + "The grammar of graphics as shown in @code{ggplot2} has provided an +expressive API for users to build plots. This package @{ggside} extends +@code{ggplot2} by allowing users to add graphical information about one of the +main panel's axis using a familiar @code{ggplot2} style API with tidy data. +This package is particularly useful for visualizing metadata on a discrete +axis, or summary graphics on a continuous axis such as a boxplot or a density +distribution.") + (license license:expat))) + (define-public r-gprofiler (package (name "r-gprofiler") -- cgit v1.2.3