aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-03-09 21:32:48 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-03-09 22:05:24 +0100
commit7fffee5e34c92359178da67206be348e42957e30 (patch)
treef615b532278dc2fc87a894a9bd01dd4ba43a3587 /gnu/packages/cran.scm
parent1bbf632574dc47db680e883beb0d6a997fc867e6 (diff)
downloadguix-7fffee5e34c92359178da67206be348e42957e30.tar
guix-7fffee5e34c92359178da67206be348e42957e30.tar.gz
gnu: Add r-terra.
* gnu/packages/cran.scm (r-terra): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 232cea5cbc..6b4370749c 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -18127,6 +18127,41 @@ stress majorization by Gansner et al. (2004)
emphasize hidden group structures in networks or focus on specific nodes.")
(license license:expat)))
+(define-public r-terra
+ (package
+ (name "r-terra")
+ (version "1.1-4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "terra" version))
+ (sha256
+ (base32
+ "1vsh55sq56shc8s2vmkl27yvrdbrbn3l6jrigqf2hmvppkb2jsbg"))))
+ (properties `((upstream-name . "terra")))
+ (build-system r-build-system)
+ (inputs
+ `(("gdal" ,gdal)
+ ("geos" ,geos)
+ ("proj" ,proj)
+ ("sqlite" ,sqlite) ; needed for proj
+ ("zlib" ,zlib)))
+ (propagated-inputs
+ `(("r-raster" ,r-raster)
+ ("r-rcpp" ,r-rcpp)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (home-page "https://rspatial.org/terra")
+ (synopsis "Spatial data analysis")
+ (description
+ "This package provides methods for spatial data analysis, especially
+raster data. The included methods allow for low-level data manipulation as
+well as high-level global, local, zonal, and focal computation. The predict
+and interpolate methods facilitate the use of regression type (interpolation,
+machine learning) models for spatial prediction. Processing of very large
+files is supported.")
+ (license license:gpl3+)))
+
(define-public r-tidygraph
(package
(name "r-tidygraph")