We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d769dd6 commit 47b476eCopy full SHA for 47b476e
R/stars.R
@@ -38,7 +38,7 @@ gdal_write = function(x, ..., file, driver = "GTiff", options = character(0), ty
38
warning("handling scale_offset requires sf > 1.0-9")
39
d = stars::st_dimensions(x)
40
xydims = attr(d, "raster")$dimensions
41
- if (!all.equal(match(xydims, names(d)), 1:2))
+ if (!isTRUE(all.equal(match(xydims, names(d)), 1:2)))
42
stop("x and y raster dimensions need to be in place 1 and 2")
43
from = c(d[[1]]$from, d[[2]]$from) - 1
44
dims = c(d[[1]]$to, d[[2]]$to)
0 commit comments