Subject: [bug#59142] [PATCH 1/3] gnu: Add r-pals.

From: Mădălin Ionel Patrașcu<[email-masked]>
Date: Wed, 9 Nov 2022 04:13:29 +0100

* gnu/packages/cran.scm (r-pals): New variable.
---
 gnu/packages/cran.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index eff789ba8d..7f5ad1faf3 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -1661,6 +1661,31 @@ (define-public r-pacman
 functions which can speed up workflow.")
     (license license:gpl2)))
 
+(define-public r-pals
+  (package
+    (name "r-pals")
+    (version "1.7")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "pals" version))
+              (sha256
+               (base32
+                "18pbivmqs9yqsb6p8anv42alny0njaq3dajibhzysax0b7rsk2js"))))
+    (properties `((upstream-name . "pals")))
+    (build-system r-build-system)
+    (propagated-inputs
+     (list r-colorspace
+           r-dichromat
+           r-mapproj
+           r-maps))
+    (native-inputs (list r-knitr))
+    (home-page "https://kwstat.github.io/pals/")
+    (synopsis "Color palettes, color maps, and tools to evaluate them")
+    (description
+     "This package provides a comprehensive collection of color palettes, color
+maps, and tools to evaluate them.")
+    (license license:gpl3)))
+
 (define-public r-paralleldist
   (package
     (name "r-paralleldist")

base-commit: 7de6aa8a0abdb54727e1dd8f775802284b99e707
-- 
2.38.1