From e05f62bf6aae0fea6afbdd8c0736970914c088f1 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 4 Jul 2022 13:21:14 +0200 Subject: [PATCH] gnu: Add r-ggprism. * gnu/packages/cran.scm (r-ggprism): New variable. --- gnu/packages/cran.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 1e93e14ac1..f3d9878732 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -1005,6 +1005,38 @@ (define-public r-ggpp ") (license license:gpl2+))) +(define-public r-ggprism + (package + (name "r-ggprism") + (version "1.0.3") + (source (origin + (method url-fetch) + (uri (cran-uri "ggprism" version)) + (sha256 + (base32 + "09dh0r8r5s61i5dbk6rswajc2vm7k8wvlqyvzq8wr160676lycjp")))) + (properties `((upstream-name . "ggprism"))) + (build-system r-build-system) + (propagated-inputs + (list r-digest + r-ggplot2 + r-glue + r-gtable + r-rlang + r-scales + r-tibble)) + (native-inputs (list r-knitr)) + (home-page "https://csdaw.github.io/ggprism/") + (synopsis "ggplot2 extension inspired by GraphPad Prism") + (description + "This package provides various themes, palettes, and other functions that are +used to customise ggplots to look like they were made in GraphPad Prism. The +Prism-look is achieved with @code{theme_prism()} and +@code{scale_fill|colour_prism()}, axes can be changed with custom guides like +@code{guide_prism_minor()}, and significance indicators added with +@code{add_pvalue()}.") + (license license:gpl3+))) + (define-public r-ggrastr (package (name "r-ggrastr")