Skip to content

Commit c47d61a

Browse files
committed
v
1 parent 17f502d commit c47d61a

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: terra
22
Type: Package
33
Title: Spatial Data Analysis
4-
Version: 1.8-89
5-
Date: 2025-12-13
4+
Version: 1.8-90
5+
Date: 2025-12-16
66
Depends: R (>= 3.5.0), methods
77
Suggests: parallel, tinytest, ncdf4, sf (>= 0.9-8), deldir, XML, leaflet (>= 2.2.1), htmlwidgets
88
LinkingTo: Rcpp

NEWS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
# version 1.8-89
1+
# version 1.8-90
22

33
## bug fixes
44

55
- `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](https://github.com/rspatial/terra/issues/1979) by Mehmet Göktuğ Öztürk
66
- `plot<SpatVector>(ext=...)` plotted polygons outside plotting region if argument 'col' was used. [#1986](https://github.com/rspatial/terra/issues/1986) by Márcia Barbosa
77
- `plot<SpatRaster>` with an "ext" argument could lead to misalignment as only entire cells were mapped. [#1989](https://github.com/rspatial/terra/issues/1989) by Márcia Barbosa
8+
- `distance<matrix,missing>` was not working [#1992](https://github.com/rspatial/terra/issues/1992) by Wencheng Lau-Medrano
89

910
## enhancements
1011

R/distance.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ setMethod("distance", signature(x="matrix", y="missing"),
222222
function(x, y, lonlat=NULL, sequential=FALSE, pairs=FALSE, symmetrical=TRUE, unit="m", method="geo") {
223223

224224
if (missing(lonlat)) {
225-
lonlat <- test.for.lonlat(x) & test.for.lonlat(y)
225+
lonlat <- test.for.lonlat(x)
226226
warn("distance", paste0("lonlat not set. Assuming lonlat=", lonlat))
227227
}
228228

man/focal.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Calculate focal ("moving window") values for each cell.
2828

2929
\item{fillvalue}{numeric. The value of the cells in the virtual rows and columns outside of the raster}
3030

31-
\item{expand}{logical. If \code{TRUE} the value of the cells in the virtual rows and columns outside of the raster are set to be the same as the value on the border. Only available for "build-in" \code{fun}s such as mean, sum, min and max}
31+
\item{expand}{logical. If \code{TRUE}, the value of the cells in the virtual rows and columns outside of the raster are set to be the same as the value on the border. Only available for "build-in" \code{fun}s such as mean, sum, min and max}
3232

3333
\item{silent}{logical. If \code{TRUE} error messages are printed that may occur when trying \code{fun} to determine the length of the returned value. This can be useful in debugging a \code{fun} that does not work}
3434

0 commit comments

Comments
 (0)