From b334549d49deedf56d5a537e701ff1a3ce182194 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 23 Jan 2025 15:34:58 +0100 Subject: [PATCH] gnu: Add r-geojsonr. * gnu/packages/cran.scm (r-geojsonr): New variable. Change-Id: I61848ccf286951bb7602e9695de20a8da7478306 --- gnu/packages/cran.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 77e89c642bc106e61f90588bf3514ff1e6b5594b..efbc1c6c248266f434509655739d3dc319946aa8 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -8098,6 +8098,29 @@ coordinates.") complex non-linear objective function with a very large number of optima.") (license license:gpl2))) +(define-public r-geojsonr + (package + (name "r-geojsonr") + (version "1.1.2") + (source + (origin + (method url-fetch) + (uri (cran-uri "geojsonR" version)) + (sha256 + (base32 "10li5xj0vx6a86nccwql4inwfbjycvaxqfbjdp4h1p5qxyibnls3")))) + (properties `((upstream-name . "geojsonR"))) + (build-system r-build-system) + (propagated-inputs (list r-r6 r-rcpp r-rcpparmadillo)) + (native-inputs (list r-knitr r-testthat)) + (home-page "https://github.com/mlampros/geojsonR") + (synopsis "GeoJson processing toolkit") + (description + "This package includes functions for processing @code{GeoJson} objects +relying on RFC 7946. The geojson encoding is based on json11, a tiny JSON +library for C++11. Furthermore, the source code is exported in R through the +Rcpp and @code{RcppArmadillo} packages.") + (license license:expat))) + (define-public r-geos (package (name "r-geos")