From 337b7f5a13b8fd8b5ee320fd5a850ede1ad63b6d Mon Sep 17 00:00:00 2001 From: Wiktor Żelazny Date: Fri, 17 Sep 2021 20:17:42 +0200 Subject: gnu: Add r-ggh4x. * gnu/packages/cran.scm (r-ggh4x): New variable. --- gnu/packages/cran.scm | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index f80256c901..7c25d17fbf 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -17,7 +17,7 @@ ;;; Copyright © 2018 Marius Bakke ;;; Copyright © 2018, 2019 Brett Gilio ;;; Copyright © 2019 Nicolò Balzarotti -;;; Copyright © 2019, 2020 Wiktor Żelazny +;;; Copyright © 2019, 2020, 2021 Wiktor Żelazny ;;; Copyright © 2019 Arne Babenhauserheide ;;; Copyright © 2019, 2020 Efraim Flashner ;;; Copyright © 2020 Todor Kondić @@ -31842,3 +31842,34 @@ (define-public r-zoib regression and obtain Bayesian inference of the model via the Markov Chain Monte Carlo approach implemented in JAGS.") (license license:gpl3+))) + +(define-public r-ggh4x + (package + (name "r-ggh4x") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "ggh4x" version)) + (sha256 + (base32 + "0gv9ckkdqbcjknzsv8h3955wnikawdfypr279v74hvwyq86af29r")))) + (properties `((upstream-name . "ggh4x"))) + (build-system r-build-system) + (propagated-inputs + `(("r-ggplot2" ,r-ggplot2) + ("r-gtable" ,r-gtable) + ("r-rlang" ,r-rlang) + ("r-scales" ,r-scales) + ("r-vctrs" ,r-vctrs))) + (native-inputs + `(("r-knitr" ,r-knitr))) + (home-page "https://github.com/teunbrand/ggh4x") + (synopsis "Extension for ggplot2") + (description "This package is a @code{ggplot2} extension. It provides some +utility functions that do not entirely fit within the grammar of graphics +concept. The package extends @code{ggpplots} facets through customisation, by +setting individual scales per panel, resizing panels and providing nested +facets. It also allows multiple colour, fill scales per plot and hosts a +smaller collection of stats, geoms and axis guides.") + (license license:expat))) -- cgit v1.2.3