summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-07-04 13:21:14 +0200
committerRicardo Wurmus <rekado@elephly.net>2022-07-04 13:48:58 +0200
commite05f62bf6aae0fea6afbdd8c0736970914c088f1 (patch)
tree6b07699939df5a29b07beb752d02cd8366911a51 /gnu/packages/cran.scm
parentcbfcff596120084b584fcab29c19d57c3a871dd3 (diff)
downloadguix-e05f62bf6aae0fea6afbdd8c0736970914c088f1.tar.gz
gnu: Add r-ggprism.
* gnu/packages/cran.scm (r-ggprism): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm32
1 files changed, 32 insertions, 0 deletions
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 @@ variables.")
 ")
     (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")