Subject: [bug#55852] [PATCH 1/6] gnu: Add r-spacetime.

From: Wiktor Żelazny <[email-masked]>
Date: Wed, 8 Jun 2022 18:54:12 +0200

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 0299e0041e..6a0bb29c54 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -17,7 +17,7 @@
 ;;; Copyright © 2018 Marius Bakke <[email-masked]>
 ;;; Copyright © 2018, 2019 Brett Gilio <[email-masked]>
 ;;; Copyright © 2019 Nicolò Balzarotti <[email-masked]>
-;;; Copyright © 2019, 2020, 2021 Wiktor Żelazny <[email-masked]>
+;;; Copyright © 2019, 2020, 2021, 2022 Wiktor Żelazny <[email-masked]>
 ;;; Copyright © 2019 Arne Babenhauserheide <[email-masked]>
 ;;; Copyright © 2019, 2020 Efraim Flashner <[email-masked]>
 ;;; Copyright © 2020 Todor Kondić <[email-masked]>
@@ -33361,3 +33361,26 @@ (define-public r-zoeppritz
 coefficients or scattering amplitudes, for seismological P and S-waves at an
 interface.")
     (license license:gpl2+)))
+
+(define-public r-spacetime
+  (package
+    (name "r-spacetime")
+    (version "1.2-7")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "spacetime" version))
+              (sha256
+               (base32
+                "0zpaib69dbdvgj36x807ci3m5jkyc0hp2j5722xkwvl1faynjlhf"))))
+    (properties `((upstream-name . "spacetime")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-lattice r-sp r-zoo r-xts r-intervals))
+    (home-page "https://github.com/edzer/spacetime/")
+    (synopsis "Classes and methods for spatio-temporal data")
+    (description
+     "@command{spacetime} provides classes and methods for spatio-temporal
+data, including space-time regular lattices, sparse lattices, irregular data,
+and trajectories; utility functions for plotting data as map sequences (lattice
+or animation) or multiple time series; methods for spatial and temporal
+matching or aggregation, retrieving coordinates, print, summary, etc.")
+    (license license:gpl2+)))

base-commit: 0c5299200ffcd16370f047b7ccb187c60f30da34
-- 
2.36.1