From ffa1efd8bd05c2dcb8134005498d8d80408fe332 Mon Sep 17 00:00:00 2001 From: rhijmans Date: Sun, 10 Sep 2023 12:25:55 -0700 Subject: [PATCH] use as.vector --- R/ursa_as.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/ursa_as.R b/R/ursa_as.R index 4f96a10..ddf214e 100644 --- a/R/ursa_as.R +++ b/R/ursa_as.R @@ -400,7 +400,7 @@ ##~ str(a1[[1]]$finalize()) ##~ q() } - bbox <- terra::as.vector(obj)[c(1,3,2,4)] + bbox <- as.vector(obj)[c(1,3,2,4)] res <- terra::res(obj) crs <- terra::crs(obj, proj=TRUE) aname <- terra::names(obj)