Subject: CVS commit: pkgsrc/geography/R-terra
From: Makoto Fujiwara
Date: 2025-01-05 06:02:40
Message id: 20250105050240.4F536FC1D@cvs.NetBSD.org

Log Message:
(geography/R-terra) Updated 1.7.83 to 1.8.5

# version 1.8-5

## bug fixes

- `Spatsample(method='stratified', ext=e)` returned the wrong sampling
  coordinates [#1628](https://github.com/rspatial/terra/issues/1628)
  by Barnabas Harris

- `spatSample(method='stratified')` could fail with small sample sizes
  [#1503](https://github.com/rspatial/terra/issues/1503) by karluf

- transparency (alpha) did not work with RGB
  plotting. [#1642](https://github.com/rspatial/terra/issues/1642) by
  Timothée Giraud

- rasterization failed on very large rasters
  [#1636](https://github.com/rspatial/terra/issues/1636) by Mary
  Fisher, [#1463](https://github.com/rspatial/terra/issues/1463) by
  Nic Spono and [#1281](https://github.com/rspatial/terra/issues/1281)
  by Sebastian Dunnett

- `tmpFiles` only looked in the default temp files folder
  [#1630](https://github.com/rspatial/terra/issues/1630) by
  smckenzie1986

- `where.min` did not work well if there were negative values
  [#1634](https://github.com/rspatial/terra/issues/1634) by Michael
  Sumner

- `plet<SpatRaster>` now works for RGB rasters and rasters with a
  color table [#1596](https://github.com/rspatial/terra/issues/1596)
  by Agustin Lobo

- `vect<MULTIPOINT WKT>` did not work properly
  [#1376](https://github.com/rspatial/terra/issues/1376) by
  silasprincipe

- `compareGeom<SpatVector>` did not work
  [#1654](https://github.com/rspatial/terra/issues/1654) by Jason
  Flower

- `buffer<SpatVector>` is now more accurate buffers for lonlat
  polygons [#1616](https://github.com/rspatial/terra/issues/1616) by
  Roberto Amaral-Santos

- `terra:interpNear` used square windows, not circles, beyond 100
  points [#1509](https://github.com/rspatial/terra/issues/1509) by
  Jean-Luc Dupouey

- `vect` read INT64 fields as integers, sometimes leading to
  overflows. [#1666](https://github.com/rspatial/terra/issues/1666) by
  bengannon-fc

- `plot` showed a legend title even if none was requestd if title
  parameters were specified
  . [#1664](https://github.com/rspatial/terra/issues/1664) by Márcia
  Barbosa

## enhancements

n- improved documentation of `writeVector` overwrite when using
  layers. [#1573](https://github.com/rspatial/terra/issues/1573) by
  Todd West

- improved treatment of (supposedly) flipped rasters by Timothée
  Giraud [#1627](https://github.com/rspatial/terra/issues/1627) and
  fchianucci [#1646](https://github.com/rspatial/terra/issues/1646)

- added `map.pal("random")`
  [#1631](https://github.com/rspatial/terra/issues/1631) by Agustin
  Lobo

- expressions can now be used in legend titles
  [#1626](https://github.com/rspatial/terra/issues/1626) by Noah
  Goodkind

- `app` and `tapp` now emit a warning when factors are coerced to
  numeric [#1566](https://github.com/rspatial/terra/issues/1566) by
  shuysman

- `plet<SpatRaster>` now has argument "stretch" for RGB rasters
  [#1596](https://github.com/rspatial/terra/issues/1596) by Agustin

- `%%` and `%/%` now behave the same for SpatRaster as for (base R)
  numbers [#1661](https://github.com/rspatial/terra/issues/1661) by
  Klaus Huebert

## new

- `patches` with option `valus=TRUE` can now distinguish regions based
  on their cell values (instead of only NA vs not-NA)
  [#495](https://github.com/rspatial/terra/issues/495) by Jakub
  Nowosad and [#1632](https://github.com/rspatial/terra/issues/1632)
  by Agustin Lobo

- `rowSums`, `rowMeans`, `colSums` and `colMeans` for SpatRaster

- `metags` for SpatRasterDataset
  [#1624](https://github.com/rspatial/terra/issues/1624) by Andrea
  Manica

- `metags` for layers (bands) of SpatRaster are now saved to and read
  from GTiff files
  [#1071](https://github.com/rspatial/terra/issues/1071) by Mike
  Koontz

- `global` has new effcient functions "anyNA" and "anynotNA"
  [#1540](https://github.com/rspatial/terra/issues/1540) by Kevin J
  Wolz

- `wrap`, `saveRDS` and `serialize` for
  SpatExtent. [#1430](https://github.com/rspatial/terra/issues/1430)
  by BastienFR

- `vect<SpatGraticule>` method suggested in relation to [tidyterra
  #155](https://github.com/dieghernan/tidyterra/issues/155) by Diego
  Hernangómez

- `toMemory<SpatRaster>` and `<SpatRasterDataset>` methods
  [#1660](https://github.com/rspatial/terra/pull/1660) by Derek Friend

Files:
RevisionActionfile
1.15modifypkgsrc/geography/R-terra/Makefile
1.3modifypkgsrc/geography/R-terra/distinfo