aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWiktor Żelazny <wz@freeshell.de>2022-06-08 19:05:14 +0200
committerRicardo Wurmus <rekado@elephly.net>2022-07-01 10:33:01 +0200
commitc359153ac47d219677ac6946b96d1d2aee6effd0 (patch)
tree06faa5c42c41558858126e24614146dcf40ed536
parente008aee36f34a400e11695a94778550f920dcf82 (diff)
downloadguix-c359153ac47d219677ac6946b96d1d2aee6effd0.tar
guix-c359153ac47d219677ac6946b96d1d2aee6effd0.tar.gz
gnu: Add r-cartogram.
* gnu/packages/cran.scm (r-cartogram): New variable.
-rw-r--r--gnu/packages/cran.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index de08aa4745..a49afb4cff 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -33605,3 +33605,22 @@ plotting utility functions, and supports @command{sf} and @command{stars}.")
"@command{automap} performs an automatic interpolation by automatically
estimating the variogram and then calling @command{gstat}.")
(license (list license:gpl2+ license:gpl3+))))
+
+(define-public r-cartogram
+ (package
+ (name "r-cartogram")
+ (version "0.2.2")
+ (source (origin
+ (method url-fetch)
+ (uri (cran-uri "cartogram" version))
+ (sha256
+ (base32
+ "0kz8hwdr5n8llkylwaixnb66f4pzaxxniz57spxhqizmi6qay7yd"))))
+ (properties `((upstream-name . "cartogram")))
+ (build-system r-build-system)
+ (propagated-inputs (list r-packcircles r-sf))
+ (home-page "https://github.com/sjewo/cartogram/")
+ (synopsis "Create cartograms with R")
+ (description "This package enables construction of continuous and
+non-contiguous area cartograms.")
+ (license license:gpl3)))