From 8a26c5ae584a3492d7b23218cf528d1937512495 Mon Sep 17 00:00:00 2001 From: edzer Date: Wed, 24 Jul 2024 09:58:03 +0200 Subject: [PATCH] address #698 --- R/warp.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/warp.R b/R/warp.R index 147dd3f8..b18dfb79 100644 --- a/R/warp.R +++ b/R/warp.R @@ -231,7 +231,7 @@ st_warp = function(src, dest, ..., crs = NA_crs_, cellsize = NA_real_, segments } if (debug) cat("Writing result to: ", dest, "\n") - else if (delete) + else if (delete && !inherits(src, "stars_proxy")) on.exit(unlink(dest)) # a temp file read_stars(dest) } else {