pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/geography/R-terra



Module Name:    pkgsrc
Committed By:   mef
Date:           Tue Jun 23 15:26:33 UTC 2026

Modified Files:
        pkgsrc/geography/R-terra: Makefile distinfo

Log Message:
(geography/R-terra) Updated 1.9.27 to 1.9.34, fix build against R-4.6.0

# version 1.9-34
----------------
## bug fixes

- terra did not build with GDAL < 3.4
  [#2080](https://github.com/rspatial/terra/issues/2080) by Wolfgang
  Viechtbauer

- `spatSample<SpatRaster>(method="random")` on large lon/lat rasters
  had become very slow
  [#2086](https://github.com/rspatial/terra/issues/2086) by Jason
  Flower

- recurring `Cannot take exclusive lock on cache.db` PROJ warnings
  during `project` are now collapsed into a single, actionable message
  [#2088](https://github.com/rspatial/terra/issues/2088)

- retro labels generated with `plot(x, pax=list(retro=TRUE))` were
  incorrect in the W and S hemispheres
  [#2090](https://github.com/rspatial/terra/issues/2090) by Lucas
  Salinas Morales

- `trim` failed with "invalid extent" if the trimmed bounding box was
  within `padding` cells of the raster edge
  [#2092](https://github.com/rspatial/terra/issues/2092) by James
  Howard

- With the new default "md=TRUE", `rast` reported a "file does not
  exist" error with a GDAL DSN string
  (e.g. `NETCDF:".../file.nc":VAR`). , `rast` now splits a
  `DRIVER:"path":VAR` DSN so the multidim API can find the file. It
  reuses the classic 2D driver's geotransform so the extent is
  reported in CRS units instead of raw coordinate-variable values
  [#2093](https://github.com/rspatial/terra/issues/2093) by Michael
  Sumner

- `writeRaster(x, filename, filetype="COG")` segfaulted with GDAL
  3.13.0 because the COG driver now has `Create()` that crashes with
  `RasterIO` crashes; terra now always writes COGs via the original
  `CreateCopy()` path
  [#2095](https://github.com/rspatial/terra/issues/2095) by Andrew
  Brown

## enhancements

- `extract<SpatRaster,SpatVector>` with polygons had become *much*
  slower [#2100](https://github.com/rspatial/terra/issues/2100)
  https://github.com/rspatial/terra/issues/2100) by Torsten Hauffe

- `regress` gained a `<SpatRaster,data.frame>` method to specify
  levels of factors

- `extract(x, polygons, fun=...)` could fail with large
  polygons/high-res rasters. For standard functions (`sum`, `sum2`,
  `mean`, `min`, `max`, `prod`, `sd`, `std`, `isNA`, `notNA`)
  processing is now by block and memory safe
  [#2097](https://github.com/rspatial/terra/issues/2097)

- `sprc(<character>)` gained argument `group=TRUE` to combine rasters
  with the same geometry; convenient for "one folder per tile, one
  file per band" situations

- automatic addition of required "/vsicurl/" and/or "/vsizip/" to
  remote vector data sources
  [#2103](https://github.com/rspatial/terra/issues/2103) by Márcia
  Barbosa

## new

- `make.RGB` function
  [#2085](https://github.com/rspatial/terra/issues/2085) by Jérôme
  Guélat

- `netw` to create `SpatNetwork` objects. The network can be directed
  or undirected and is by default weighted by edge length.

- `SpatNetwork` methods: `shortestPath`, , `writeNetwork``net_nodes`,
  `net_edges`, `net_nnodes`, `net_nedges`, `net_directed`,
  `net_weights` and `net_weights<-`.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/geography/R-terra/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/geography/R-terra/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/geography/R-terra/Makefile
diff -u pkgsrc/geography/R-terra/Makefile:1.29 pkgsrc/geography/R-terra/Makefile:1.30
--- pkgsrc/geography/R-terra/Makefile:1.29      Thu May 14 16:41:06 2026
+++ pkgsrc/geography/R-terra/Makefile   Tue Jun 23 15:26:33 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.29 2026/05/14 16:41:06 ryoon Exp $
+# $NetBSD: Makefile,v 1.30 2026/06/23 15:26:33 mef Exp $
 
 R_PKGNAME=     terra
-R_PKGVER=      1.9-27
-PKGREVISION=   1
+R_PKGVER=      1.9-34
 CATEGORIES=    geography
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -23,4 +22,9 @@ USE_CXX_FEATURES=     c++17
 .include "../../math/R/Makefile.extension"
 .include "../../devel/R-Rcpp/buildlink3.mk"
 .include "../../geography/gdal-lib/buildlink3.mk"
+.include "../../archivers/zstd/buildlink3.mk"
+.include "../../print/poppler/buildlink3.mk"
+.include "../../geography/libspatialite/buildlink3.mk"
+.include "../../textproc/json-c/buildlink3.mk"
+
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/geography/R-terra/distinfo
diff -u pkgsrc/geography/R-terra/distinfo:1.7 pkgsrc/geography/R-terra/distinfo:1.8
--- pkgsrc/geography/R-terra/distinfo:1.7       Sun May 10 11:39:01 2026
+++ pkgsrc/geography/R-terra/distinfo   Tue Jun 23 15:26:33 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2026/05/10 11:39:01 wiz Exp $
+$NetBSD: distinfo,v 1.8 2026/06/23 15:26:33 mef Exp $
 
-BLAKE2s (R/terra_1.9-27.tar.gz) = d6fdc3c4d3af9cf2770e79abe20a8cac1fd22fb71d775903b2ff8a4b8acde9ce
-SHA512 (R/terra_1.9-27.tar.gz) = c0d1507e64f15122de62a24b602aa42258474c472935d92faf7415ae68e9f493a69f7c469955f176ae49465d04c170cc50f3627d53c99102ca957a1539b9ce46
-Size (R/terra_1.9-27.tar.gz) = 1166937 bytes
+BLAKE2s (R/terra_1.9-34.tar.gz) = b6c1573be99eb460860141aa1aca4e74fa39fa76fd74eeacf321769d52201f50
+SHA512 (R/terra_1.9-34.tar.gz) = 4f7d1317cbb76729294bd489a5ea720f663d1e03f4f035242b05dba6bf08752820b53a1c20b1f897a443203f568d43af7fa95b61f5de3b3af81a82e80a35007d
+Size (R/terra_1.9-34.tar.gz) = 1570497 bytes



Home | Main Index | Thread Index | Old Index