aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 39d11dd8ee..3581d51ee0 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -27879,3 +27879,33 @@ and formatted text files with additional meta-data, such including @code{.csv},
@url{https://github.com/postgis/postgis/tree/master/liblwgeom,liblwgeom}, the
light-weight geometry library used by @url{http://postgis.net/,PostGIS}.")
(license license:gpl2)))
+
+(define-public r-stars
+ (package
+ (name "r-stars")
+ (version "0.5-1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "stars" version))
+ (sha256
+ (base32
+ "0ybk899rc0rpf2cv5kwk78fvis5xnr255hfcy5khdxsxdqgl0m9j"))))
+ (properties `((upstream-name . "stars")))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-abind" ,r-abind)
+ ("r-classint" ,r-classint)
+ ("r-lwgeom" ,r-lwgeom)
+ ("r-rlang" ,r-rlang)
+ ("r-sf" ,r-sf)
+ ("r-units" ,r-units)))
+ (native-inputs `(("r-knitr" ,r-knitr)))
+ (home-page "https://r-spatial.github.io/stars/")
+ (synopsis
+ "Spatiotemporal Arrays, Raster and Vector Data Cubes")
+ (description
+ "Reading, manipulating, writing and plotting spatiotemporal arrays
+(raster and vector data cubes) in @code{R}, using @code{GDAL} bindings provided
+by @code{sf}, and @code{NetCDF} bindings by @code{ncmeta} and @code{RNetCDF}.")
+ (license license:asl2.0)))