Skip to content

Commit

Permalink
for #1382
Browse files Browse the repository at this point in the history
  • Loading branch information
rhijmans committed Dec 21, 2023
1 parent dc729e5 commit a09148f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/rast.R
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ setMethod("rast", signature(x="SpatVector"),
j <- file.exists(dirname(p))
x[j] <- p[j]
} else {
i <- !file.exists(p)
p[i] <- x[i]
return(p)
}
#if (identical(basename(x), x)) {
Expand Down

0 comments on commit a09148f

Please sign in to comment.