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: wiz
Date: Sun May 10 11:39:01 UTC 2026
Modified Files:
pkgsrc/geography/R-terra: Makefile distinfo
Log Message:
R-terra: update to 1.9.27.
Fixes build with current versions of pkgsrc dependencies.
version 1.9-27
bug fixes
terra did not build on CRAN with OSX and clang 14 terra did not build with PROJ < 7 #2080 by Wolfgang Viechtbauer project without template failed #2081 by Ethan Plunkett
version 1.9-25
bug fixes
terra now distinguishes between the “standard”/“Gregorian” and the “proleptic_gregorian” calendars #1599 by Hu shiyu
spatSample<SpatRaster>(method="stratified") could cause an out of bounds error #1858 by Felipe)
vrt on OSX had trouble with options #1410 by Andrea Manica. And occasionally on Windows #1848 by Monika Anna Tomaszewska; due to passing them as a dangling pointer.
rbind<SpatVector,SpatVector> could make R crash when combining a variable that is numeric in one and boolean in the other source #2069 by Hans van Calster
vect can now better handle non standard geometries such as multisurface #2037 by Floris Vanderhaeghe
writeVector can now write GPX format #1231 by Krzysztof Dyba
better handling of rotated rasters #1434 by Insang Song and #918 by Agustin Lobo
zonal truncated weights #2072 by Dominic Royé
distance<SpatRaster> with haversine method could overflow from N to S pole #2077 by brshipley
enhancements
memmax now defaults to 16 GB to prevent allocation failures on very large memory systems #2073 by Will Kessler
update can (again) edit layernames in existing files #2071 by Jim Shady
compareGeom gets argument “tolerance” to overwrite the default that can be set with terraOptions. #2056 by R. Kyle Bocinsky
vect<data.frame> now warns when it guesses the geom variables and/or the lon/lat CRS #1985 by Márcia Barbosa
consistent warnings about missing CRS in distance functions. #1924 by Márcia Barbosa
aggregate<SpatRaster> no longer loses time attributes #2066 by Wencheng Lau-Medrano
the number of files that the OS allows to be simultaneously open sets a limit for processing SpatRasters that is now detected #1993 by Enrico Mattea
additional effort to read KML/Z attribute values #1954 by Yong-hun Suh
autocor gets a “standardize” argument for row-standardization #1593 by Nicholas Berryman
plet gains argument “hover” #1571 by Agustin Lobo
sbar gets argument “bg” to set a background color #1957 by Lucas Salinas Morales
better support for writing vsizip files #1629 by Eric R. Scott
better error message if project fails because a transformation grid cannot be downloaded #1425 by Kevin J Wolz
PROJ CDN warnings (e.g. SSL errors when downloading datum grids) are now collapsed into a single summary warning with guidance to use projNetwork(FALSE) #1351 by Hassan Masoomi
new
costDistance and gridDistance can now return the nearest target cell number #2034 by chrislittleboy
update can write cell values to existing files #1079 by Mike Koontz
mosaic(fun="blend") method to combine rasters with smooth gradients in overlapping zones #2011 by Greg Schmidt
animate<SpatVectorCollection> method. #2065 by Márcia Barbosa
thin<SpatVector> method. #1738 by Andrés
legend_cont method to draw a continuous legend independent of plot #2057 by Lucas Salinas Morales
proj_pipelines function to retrieve CRS transformation pipelines that can be used in project #1350 by Richard A. Johansen
tessellate method to create hexagonal and rectangular tessellations
tile_apply for parallelization
version 1.9-11
Released 2026-03-26
bug fixes
subst and some cases of classify, did not recycle properly #2046 by Nuno Teixeira and #2052 by Jérôme Guélat
better reading of gpkg files with unclear geometry and NULL geoms #2051 by Duy Nguyen
ifel ignored NA values in some circumstances SO 79905693 by Sean McKenzie
spatSample failed with checkerboard sampling if a stratum was empty #2060 by Tyler Smith
enhancements
plot<SpatVector> has new argument “fill_range”
extract gains argument “wide=FALSE” that can be used when fun=“table” 2053 by Jérôme Guélat
version 1.9-1
Released 2026-03-07
bug fixes
patches newly implemented by Andrew Gene Brown #2006 fixing #1758
project did not apply the scale/offset values #2014 by Edgar Castro
show<SpatRaster> did not work properly for categorical variables if the min/max values were not specified in the file #2023 by Kodi Arfer
rast(md=TRUE) now recognizes non standard calendars #2019 by Heyang; fixed by Yuxuan Xie with #2024
values<SpatVector> lost integer values > .Machine$integer.max. Variables with such values are no longer coerced to integer. #2030 by Steffen Ehrmann
extract<SpatRaster,SpatVector> with arguments fun=“table” and weights=FALSE did not work #2029 by volcanicpine
query<SpatVectorProxy> failed with a start > 100000 #2038 by Paul Smith
enhancements
significant speed improvements for classify, subst (one-to-one value replacement), catalyze (one-to-many value replacement), unique (better deduplication), and freq, crosstab, table_utils
(unified approach to counting) by Andrew Gene Brown #2012
terra now handles the sf defined “POLYGON FULL” not-so-WKT #2013 by Alexandre Courtiol
Language errors in the documentation fixed by Yuxuan Xie #2021 and by Krzysztof Dyba #2020
fixed documentation for “direction” parameter in flip<SpatRaster> #2016 by Jesse Anderson
“pixel count” in a raster/value attribute table is now recognized as equivalent to “count” (and not considered a categorical variable) #2023 by Kodi Arfer
lines<leaflet> gains argument “popup” #2018 by Mary Fisher
as.lines<matrix> gains argument “segments” #2008 by Márcia Barbosa
freq<SpatRaster> with argument zones as a SpatRaster now returns the zone values instead of the index #2033 by Thomas Estabrook
as.lines<SpatRaster> gained argument “na.rm=FALSE” #2041 by Márcia Barbosa
new
animate<SpatVector> method by Márcia Barbosa #2007
agitate<SpatVector> method to jitter a SpatVector of points
version 1.8-93
Released 2026-01-12
bug fixes
plot<SpatRaster>(add=TRUE) did not put the legend in the right place if the first raster had a larger extent and the number of cells was larger than maxcell. #1979 by Mehmet Göktuğ Öztürk
plot<SpatVector>(ext=...) plotted polygons outside plotting region if argument ‘col’ was used. #1986 by Márcia Barbosa
plot<SpatRaster> with an “ext” argument could lead to misalignment as only entire cells were mapped. #1989 by Márcia Barbosa
distance<matrix,missing> was not working #1992 by Wencheng Lau-Medrano
polys ignored argument “border” #1997 by Márcia Barbosa
describe works with linux paths starting with a tilde #2003 by David Moles
zonal<SpatRaster,SpatRaster> failed with arguments fun=‘sd’, wide=F. #2004 by Thomas Estabrook
enhancements
vect<data.frame> has improved guessing of variable names (if argument geom is not supplied) and crs (if that argument is not supplied), and gets argument “quiet=TRUE” that can be set to false to
get warnings if either of these is guessed. #1984 and #1985 by Márcia Barbosa
extract<SpatVector> is now less memory hungry when using argument layers #1983 by Kodi Arfer
split<SpatVector> now behaves like the data.frame method when using multiple split variables #1987 by WillhKessler
$<-<SpatVector> now gives an error if the replacement is longer than the data, and a warning if recycling of a shorter replacement is imperfect. #1980 by Margaret Bolton
cartogram gets new arguments “inside” and “exp” and better scaling #1982 by Márcia Barbosa
spatSample<SpatRaster> gains argument “as.mask” #1981 by Agustin Lobo
vect<character> now handles MultiSurface geometries (as polygons) #1994 by Márcia Barbosa
plet<SpatVector> and polys<leaflet> gain argument “lty” #1997 by Márcia Barbosa
new
proj_ok helper function to check if the GDAL/PROJ install is functional #1996 by Andrew Gene Brown
nany<SpatRaster> method (!all in one step) “nany” is short for “not any”. This is used because “none” creates a conflict
version 1.8-87
Released 2025-11-28
bug fixes
writeVector gave an error with an empty (0-row) SpatVector #1960 by Andrew Gene Brown
terra did not compile with GEOS < 3.10 #1961 by Wolfgang Viechtbauer
intersect<SpatRaster,SpatRaster> changed the extent of the second input SpatRaster if it did not match that of the first #1964 by Greg Schmidt
boundaries with argument “classes=TRUE” ignored argument “inner=TRUE” (it was always FALSE). #1963 by Oleg Zheleznyy
cellFromXY with NA coordinates returned 1 instead of NA on macOS #1967 by John Baums
stretch crashed R with very large rasters #1962 by Agustin Lobo
focalReg did not handle custom functions with a weights argument #1965 by Pedro Tarroso
enhancements
boundaries has new argument “ignoreNA=FALSE” to only detect boundaries between different classes, not between classes and missing values #1963 by Oleg Zheleznyy
stretch gains argument “bylayer=TRUE” #1970 by Michael Sumner
makeValid gains argument buffer=FALSE #1955 by Márcia Barbosa
plot<SpatVector> argument “col” can now be a named vector or two-column matrix/data.frame to match character/factor values to colors #1976 by Richard Cooper
new
fillHoles method for SpatRaster
chunk method to run a non-memory-safe SpatRaster function in chunks
centroids<SpatRaster> method
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/geography/R-terra/Makefile
cvs rdiff -u -r1.6 -r1.7 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.27 pkgsrc/geography/R-terra/Makefile:1.28
--- pkgsrc/geography/R-terra/Makefile:1.27 Fri Feb 6 10:04:54 2026
+++ pkgsrc/geography/R-terra/Makefile Sun May 10 11:39:01 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.27 2026/02/06 10:04:54 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2026/05/10 11:39:01 wiz Exp $
R_PKGNAME= terra
-R_PKGVER= 1.8-80
-PKGREVISION= 2
+R_PKGVER= 1.9-27
CATEGORIES= geography
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -17,7 +16,8 @@ TEST_DEPENDS+= R-deldir-[0-9]*:../../geo
TEST_DEPENDS+= R-XML-[0-9]*:../../math/R-XML
TEST_DEPENDS+= R-htmlwidgets-[0-9]*:../../www/R-htmlwidgets
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c c++
+USE_CXX_FEATURES= c++17
.include "../../math/R/Makefile.extension"
.include "../../devel/R-Rcpp/buildlink3.mk"
Index: pkgsrc/geography/R-terra/distinfo
diff -u pkgsrc/geography/R-terra/distinfo:1.6 pkgsrc/geography/R-terra/distinfo:1.7
--- pkgsrc/geography/R-terra/distinfo:1.6 Sun Nov 9 22:38:12 2025
+++ pkgsrc/geography/R-terra/distinfo Sun May 10 11:39:01 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2025/11/09 22:38:12 wiz Exp $
+$NetBSD: distinfo,v 1.7 2026/05/10 11:39:01 wiz Exp $
-BLAKE2s (R/terra_1.8-80.tar.gz) = 10746e1bfe93a5126f76290069840f64964c71462089e5bda03ea3810295896c
-SHA512 (R/terra_1.8-80.tar.gz) = d813b4a8257fc187098f30e5615e97f61c4960be15002595d9e98677ea6861e435c5fc3e1b674c4de41366dfbfad8d0094ea13b3ed7123affc9cf098e638984d
-Size (R/terra_1.8-80.tar.gz) = 1055312 bytes
+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
Home |
Main Index |
Thread Index |
Old Index