summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-02-20 10:55:32 +0100
committerRicardo Wurmus <rekado@elephly.net>2024-02-20 10:55:32 +0100
commit0497b1696f75b2b589e4ae841fe24c61d7477953 (patch)
treec3f097608a0d62159b4cf743933c278178834bd8
parent7a01cc001df424a2e6190dad9a043b06188bb512 (diff)
gnu: Add r-cetcolor.
* gnu/packages/cran.scm (r-cetcolor): New variable. Change-Id: I8af11a4449229d736fba05c5d6af5c096aa7a11a
-rw-r--r--gnu/packages/cran.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index a076a52640..3d4190e0ae 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -454,6 +454,27 @@ match datasets quickly. It also contains functions for various cosmological
calculations.")
(license license:gpl3)))
+(define-public r-cetcolor
+ (package
+ (name "r-cetcolor")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "cetcolor" version))
+ (sha256
+ (base32 "0kygdcr9ldanr0z4qpygwh0padki7s2ad0j6myky601g4228z79q"))))
+ (properties `((upstream-name . "cetcolor")))
+ (build-system r-build-system)
+ (native-inputs (list r-knitr))
+ (home-page "https://github.com/coatless-rpkg/cetcolor")
+ (synopsis "CET perceptually uniform color maps")
+ (description
+ "This package provides a collection of perceptually uniform color maps
+made by Peter Kovesi (2015) \"Good Colour Maps: How to Design Them\"
+<arXiv:1509.03700> at the Centre for Exploration Targeting (CET).")
+ (license license:cc-by-sa4.0)))
+
;; The package sources include multiple non-minified JavaScript files and the
;; v5.1.0 variant of d3.js. The d3.js file is not minified.
(define-public r-chromomap