From 2a2785c1a6335bd7aa26f515fc35d4edaacd29ff Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 26 Aug 2024 20:24:35 +0200 Subject: [PATCH] gnu: r-sungeo: Update to 1.3.0. * gnu/packages/cran.scm (r-sungeo): Update to 1.3.0. [source]: Remove obsolete snippet. [propagated-inputs]: Remove r-sp; add r-rmapshaper. [native-inputs]: Add r-codetools. Change-Id: Iceca0e28314f31e326b7d7f8d4a03a71b770025f --- gnu/packages/cran.scm | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 96d24b6516..e1bd5d9bb5 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -42932,26 +42932,17 @@ (define-public r-measurements (define-public r-sungeo (package (name "r-sungeo") - (version "1.1.1") + (version "1.3.0") (source (origin (method url-fetch) (uri (cran-uri "SUNGEO" version)) (sha256 (base32 - "1sy9kw3nr69jf33034kcnv418lqyz6sfrd01646i7dfsm64aydp2")) - (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\\) -") "")))))) + "0ydwsrgqknngx7567xwfhwj1jdmi4ip1jxkb5jdy41f7ysy1myd0")))) (properties `((upstream-name . "SUNGEO"))) (build-system r-build-system) + (native-inputs + (list r-codetools)) ;recommended package for checking field assignments (propagated-inputs (list r-automap r-cartogram @@ -42967,8 +42958,8 @@ (define-public r-sungeo r-rcpp r-rcurl r-rlang + r-rmapshaper r-sf - r-sp r-spdep r-stringr r-terra))