unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#55852] [PATCH 1/6] gnu: Add r-spacetime.
@ 2022-06-08 16:54 Wiktor Żelazny
  2022-06-08 17:05 ` [bug#55852] [PATCH 2/6] gnu: Add r-gstat Wiktor Żelazny
  2022-07-01  8:38 ` bug#55852: [PATCH 1/6] gnu: Add r-spacetime Ricardo Wurmus
  0 siblings, 2 replies; 7+ messages in thread
From: Wiktor Żelazny @ 2022-06-08 16:54 UTC (permalink / raw)
  To: 55852; +Cc: Wiktor Żelazny

* 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 <mbakke@fastmail.com>
 ;;; Copyright © 2018, 2019 Brett Gilio <brettg@gnu.org>
 ;;; Copyright © 2019 Nicolò Balzarotti <anothersms@gmail.com>
-;;; Copyright © 2019, 2020, 2021 Wiktor Żelazny <wzelazny@vurv.cz>
+;;; Copyright © 2019, 2020, 2021, 2022 Wiktor Żelazny <wzelazny@vurv.cz>
 ;;; Copyright © 2019 Arne Babenhauserheide <arne_bab@web.de>
 ;;; Copyright © 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2020 Todor Kondić <tk.code@protonmail.com>
@@ -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





^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#55852] [PATCH 2/6] gnu: Add r-gstat.
  2022-06-08 16:54 [bug#55852] [PATCH 1/6] gnu: Add r-spacetime Wiktor Żelazny
@ 2022-06-08 17:05 ` Wiktor Żelazny
  2022-06-08 17:05   ` [bug#55852] [PATCH 3/6] gnu: Add r-automap Wiktor Żelazny
                     ` (3 more replies)
  2022-07-01  8:38 ` bug#55852: [PATCH 1/6] gnu: Add r-spacetime Ricardo Wurmus
  1 sibling, 4 replies; 7+ messages in thread
From: Wiktor Żelazny @ 2022-06-08 17:05 UTC (permalink / raw)
  To: 55852; +Cc: Wiktor Żelazny

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 6a0bb29c54..5159c743ee 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -33384,3 +33384,26 @@ (define-public r-spacetime
 or animation) or multiple time series; methods for spatial and temporal
 matching or aggregation, retrieving coordinates, print, summary, etc.")
     (license license:gpl2+)))
+
+(define-public r-gstat
+  (package
+    (name "r-gstat")
+    (version "2.0-9")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "gstat" version))
+              (sha256
+               (base32
+                "19m4zcj1qvg6gs8yjr5ijvd6rrv4av5yp5rmhnb88f0m5qn06b0j"))))
+    (properties `((upstream-name . "gstat")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-lattice r-sp r-zoo r-spacetime r-fnn))
+    (home-page "https://github.com/r-spatial/gstat/")
+    (synopsis "Spatial and spatio-temporal geostatistical modelling,
+prediction and simulation")
+    (description
+     "This package enables variogram modelling, including: simple, ordinary and
+universal point or block (co)kriging; spatio-temporal kriging; and sequential
+Gaussian or indicator (co)simulation.  It includes variogram and variogram map
+plotting utility functions, and supports @command{sf} and @command{stars}.")
+    (license license:gpl2+)))
-- 
2.36.1





^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#55852] [PATCH 3/6] gnu: Add r-automap.
  2022-06-08 17:05 ` [bug#55852] [PATCH 2/6] gnu: Add r-gstat Wiktor Żelazny
@ 2022-06-08 17:05   ` Wiktor Żelazny
  2022-06-08 17:05   ` [bug#55852] [PATCH 4/6] gnu: Add r-cartogram Wiktor Żelazny
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Wiktor Żelazny @ 2022-06-08 17:05 UTC (permalink / raw)
  To: 55852; +Cc: Wiktor Żelazny

* gnu/packages/cran.scm (r-automap): 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 5159c743ee..a8e604c273 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -33407,3 +33407,28 @@ (define-public r-gstat
 Gaussian or indicator (co)simulation.  It includes variogram and variogram map
 plotting utility functions, and supports @command{sf} and @command{stars}.")
     (license license:gpl2+)))
+
+(define-public r-automap
+  (package
+    (name "r-automap")
+    (version "1.0-16")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "automap" version))
+              (sha256
+               (base32
+                "0jz0p28gmx9cpzv4cz0xhbml3w1inf2nsd2ynbhmfxg5rm2f7dca"))))
+    (properties `((upstream-name . "automap")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-ggplot2
+                             r-gstat
+                             r-lattice
+                             r-maptools
+                             r-reshape
+                             r-sp))
+    (home-page "https://cran.r-project.org/package=automap")
+    (synopsis "Automatic interpolation package")
+    (description
+     "@command{automap} performs an automatic interpolation by automatically
+estimating the variogram and then calling @command{gstat}.")
+    (license (list license:gpl2+ license:gpl3+))))
-- 
2.36.1





^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#55852] [PATCH 4/6] gnu: Add r-cartogram.
  2022-06-08 17:05 ` [bug#55852] [PATCH 2/6] gnu: Add r-gstat Wiktor Żelazny
  2022-06-08 17:05   ` [bug#55852] [PATCH 3/6] gnu: Add r-automap Wiktor Żelazny
@ 2022-06-08 17:05   ` Wiktor Żelazny
  2022-06-08 17:05   ` [bug#55852] [PATCH 5/6] gnu: Add r-measurements Wiktor Żelazny
  2022-06-08 17:05   ` [bug#55852] [PATCH 6/6] gnu: Add r-sungeo Wiktor Żelazny
  3 siblings, 0 replies; 7+ messages in thread
From: Wiktor Żelazny @ 2022-06-08 17:05 UTC (permalink / raw)
  To: 55852; +Cc: Wiktor Żelazny

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index a8e604c273..6ffa9137a7 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -33432,3 +33432,22 @@ (define-public r-automap
      "@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)))
-- 
2.36.1





^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#55852] [PATCH 5/6] gnu: Add r-measurements.
  2022-06-08 17:05 ` [bug#55852] [PATCH 2/6] gnu: Add r-gstat Wiktor Żelazny
  2022-06-08 17:05   ` [bug#55852] [PATCH 3/6] gnu: Add r-automap Wiktor Żelazny
  2022-06-08 17:05   ` [bug#55852] [PATCH 4/6] gnu: Add r-cartogram Wiktor Żelazny
@ 2022-06-08 17:05   ` Wiktor Żelazny
  2022-06-08 17:05   ` [bug#55852] [PATCH 6/6] gnu: Add r-sungeo Wiktor Żelazny
  3 siblings, 0 replies; 7+ messages in thread
From: Wiktor Żelazny @ 2022-06-08 17:05 UTC (permalink / raw)
  To: 55852; +Cc: Wiktor Żelazny

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 6ffa9137a7..8445aee0b5 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -33451,3 +33451,23 @@ (define-public r-cartogram
     (description "This package enables construction of continuous and
 non-contiguous area cartograms.")
     (license license:gpl3)))
+
+(define-public r-measurements
+  (package
+    (name "r-measurements")
+    (version "1.4.0")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "measurements" version))
+              (sha256
+               (base32
+                "1kihavs9vgxwqjm9z1zjjngkmcwfsv8dg7nn9nrv5r06k5hv8bz6"))))
+    (properties `((upstream-name . "measurements")))
+    (build-system r-build-system)
+    (home-page "https://cran.r-project.org/web/packages/measurements/")
+    (synopsis "Tools for units of measurement")
+    (description
+     "This package provides a collection of tools to make working with physical
+measurements easier.  One can convert between metric and imperial units, or
+calculate a dimension's unknown value from other dimensions' measurements.")
+    (license license:gpl3)))
-- 
2.36.1





^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#55852] [PATCH 6/6] gnu: Add r-sungeo.
  2022-06-08 17:05 ` [bug#55852] [PATCH 2/6] gnu: Add r-gstat Wiktor Żelazny
                     ` (2 preceding siblings ...)
  2022-06-08 17:05   ` [bug#55852] [PATCH 5/6] gnu: Add r-measurements Wiktor Żelazny
@ 2022-06-08 17:05   ` Wiktor Żelazny
  3 siblings, 0 replies; 7+ messages in thread
From: Wiktor Żelazny @ 2022-06-08 17:05 UTC (permalink / raw)
  To: 55852; +Cc: Wiktor Żelazny

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 8445aee0b5..ab913cef6c 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -33471,3 +33471,52 @@ (define-public r-measurements
 measurements easier.  One can convert between metric and imperial units, or
 calculate a dimension's unknown value from other dimensions' measurements.")
     (license license:gpl3)))
+
+(define-public r-sungeo
+  (package
+    (name "r-sungeo")
+    (version "0.2.288")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "SUNGEO" version))
+              (sha256
+               (base32
+                "0c8y0ngx1020rw2v00rxmq8syd72f41ckik5sg7gigg7d80gi31w"))
+              (modules '((guix build utils)))
+              (snippet '(begin
+                          ;; Fortunately, the package does not actually use
+                          ;; rmapshaper, which has got a js/node dependency.
+                          ;; The only occurrence is in R/point2poly_tess.R,
+                          ;; where it is commented out.
+                          (substitute* "DESCRIPTION"
+                            (("rmapshaper,") ""))
+                          (substitute* "NAMESPACE"
+                            (("importFrom\\(rmapshaper,ms_dissolve\\)
+") ""))
+                          #t))))
+    (properties `((upstream-name . "SUNGEO")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-automap
+                             r-cartogram
+                             r-data-table
+                             r-dplyr
+                             r-fasterize
+                             r-httr
+                             r-jsonlite
+                             r-measurements
+                             r-packcircles
+                             r-purrr
+                             r-rann
+                             r-raster
+                             r-rcpp
+                             r-rcurl
+                             r-rlang
+                             r-sf
+                             r-sp
+                             r-spdep))
+    (home-page "https://github.com/zhukovyuri/SUNGEO/")
+    (synopsis "Sub-National Geospatial Data Archive: Geoprocessing Toolkit")
+    (description
+     "Tools for integrating spatially-misaligned GIS datasets.  Part of the
+Sub-National Geospatial Data Archive System.")
+    (license license:gpl2)))
-- 
2.36.1





^ permalink raw reply related	[flat|nested] 7+ messages in thread

* bug#55852: [PATCH 1/6] gnu: Add r-spacetime.
  2022-06-08 16:54 [bug#55852] [PATCH 1/6] gnu: Add r-spacetime Wiktor Żelazny
  2022-06-08 17:05 ` [bug#55852] [PATCH 2/6] gnu: Add r-gstat Wiktor Żelazny
@ 2022-07-01  8:38 ` Ricardo Wurmus
  1 sibling, 0 replies; 7+ messages in thread
From: Ricardo Wurmus @ 2022-07-01  8:38 UTC (permalink / raw)
  To: 55852-done

Hi Wiktor,

thank you for your patches!  I did not notice them on
issues.guix.gnu.org, hence the late response.

You’re very welcome to add the “X-Debbugs-Cc: rekado@elephly.net” header
to Cc me on future submissions.  I’ll make reviewing your patches a
priority.

I’ve applied the patch set and pushed it to the master branch.

Thanks again!

-- 
Ricardo




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-07-01  8:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 16:54 [bug#55852] [PATCH 1/6] gnu: Add r-spacetime Wiktor Żelazny
2022-06-08 17:05 ` [bug#55852] [PATCH 2/6] gnu: Add r-gstat Wiktor Żelazny
2022-06-08 17:05   ` [bug#55852] [PATCH 3/6] gnu: Add r-automap Wiktor Żelazny
2022-06-08 17:05   ` [bug#55852] [PATCH 4/6] gnu: Add r-cartogram Wiktor Żelazny
2022-06-08 17:05   ` [bug#55852] [PATCH 5/6] gnu: Add r-measurements Wiktor Żelazny
2022-06-08 17:05   ` [bug#55852] [PATCH 6/6] gnu: Add r-sungeo Wiktor Żelazny
2022-07-01  8:38 ` bug#55852: [PATCH 1/6] gnu: Add r-spacetime Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).