aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-06-26 12:33:02 +0200
committerRicardo Wurmus <rekado@elephly.net>2023-06-26 12:34:35 +0200
commit75f24d40fdb21dc97e4f4771cfcd8e7571485db4 (patch)
tree33c0bdb560b20636334c985e7b003ee953bfd79c
parent23f02e6f96a5353577eccfacfad0c12f70a5f8ab (diff)
downloadguix-75f24d40fdb21dc97e4f4771cfcd8e7571485db4.tar.gz
guix-75f24d40fdb21dc97e4f4771cfcd8e7571485db4.zip
gnu: Add r-rnaturalearthhires.
* gnu/packages/geo.scm (r-rnaturalearthhires): New variable.
-rw-r--r--gnu/packages/geo.scm33
1 files changed, 32 insertions, 1 deletions
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 65344bcac2..bf8a036ac6 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -3,7 +3,7 @@
;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2017, 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
-;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2018, 2023 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2018, 2019 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2018 Joshua Sierles, Nextjournal <joshua@nextjournal.com>
;;; Copyright © 2018, 2019, 2020, 2021 Julien Lepiller <julien@lepiller.eu>
@@ -48,6 +48,7 @@
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt)
+ #:use-module (guix build-system r)
#:use-module (guix download)
#:use-module (guix gexp)
#:use-module (guix git-download)
@@ -71,6 +72,7 @@
#:use-module (gnu packages cpp)
#:use-module (gnu packages cups)
#:use-module (gnu packages curl)
+ #:use-module (gnu packages cran)
#:use-module (gnu packages databases)
#:use-module (gnu packages datastructures)
#:use-module (gnu packages docbook)
@@ -119,6 +121,7 @@
#:use-module (gnu packages sdl)
#:use-module (gnu packages speech)
#:use-module (gnu packages sqlite)
+ #:use-module (gnu packages statistics)
#:use-module (gnu packages swig)
#:use-module (gnu packages textutils)
#:use-module (gnu packages time)
@@ -2120,6 +2123,34 @@ using the dataset of topographical information collected by
(home-page "https://www.routino.org/")
(license license:agpl3+)))
+(define-public r-rnaturalearthhires
+ (let ((commit "c3785a8c44738de6ae8f797080c0a337ebed929d")
+ (revision "1"))
+ (package
+ (name "r-rnaturalearthhires")
+ (version (git-version "0.2.1" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ropensci/rnaturalearthhires")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1fr0yb2fbr9zbk7gqr3rnzz2w4ijjpl6hlzdrh4n27lf0ip3h0cx"))))
+ (properties `((upstream-name . "rnaturalearthhires")))
+ (build-system r-build-system)
+ (propagated-inputs (list r-sp))
+ (native-inputs (list r-knitr))
+ (home-page "https://github.com/ropensci/rnaturalearthhires")
+ (synopsis
+ "High Resolution World Vector Map Data from Natural Earth used in rnaturalearth")
+ (description
+ "Facilitates mapping by making natural earth map data from http://
+www.naturalearthdata.com/ more easily available to R users. Focuses on vector
+data.")
+ (license license:cc0))))
+
(define-public qmapshack
(package
(name "qmapshack")