Skip to content

Commit

Permalink
address #698
Browse files Browse the repository at this point in the history
  • Loading branch information
edzer committed Jul 24, 2024
1 parent a91a34c commit 8a26c5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/warp.R
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8a26c5a

Please sign in to comment.