From a33c8146d4e2794781f20e8278fb1afef7d3ef1a Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 26 Aug 2024 20:23:22 +0200 Subject: [PATCH] gnu: Add r-geojsonsf. * gnu/packages/cran.scm (r-geojsonsf): New variable. Change-Id: I7ffac98fd2e59d3b65d62d38f7e1930647c64e9c --- gnu/packages/cran.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index c683be1911..da0b02a166 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -9564,6 +9564,27 @@ interface to @code{PostgreSQL}, a relational database.") Optimization problems by using the simplex algorithm.") (license license:gpl2+))) +(define-public r-geojsonsf + (package + (name "r-geojsonsf") + (version "2.0.3") + (source + (origin + (method url-fetch) + (uri (cran-uri "geojsonsf" version)) + (sha256 + (base32 "1la6zfzv14ascwds0bp67d7x3am0v14mylc4b2lyd0nrf93a2p17")))) + (properties `((upstream-name . "geojsonsf"))) + (build-system r-build-system) + (propagated-inputs (list r-geometries r-jsonify r-rapidjsonr r-rcpp + r-sfheaders)) + (native-inputs (list r-knitr)) + (home-page "https://github.com/SymbolixAU/geojsonsf") + (synopsis "GeoJSON to Simple Feature converter") + (description "This package converts between @code{GeoJSON} and Simple +Feature objects.") + (license license:expat))) + (define-public r-geometries (package (name "r-geometries")