Skip to content

Commit

Permalink
create_format_terra_vect: Fix for covr body<- lack of evaluation with…
Browse files Browse the repository at this point in the history
… {covr}
  • Loading branch information
brownag committed Mar 16, 2024
1 parent e7d95d7 commit 66c5531
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/tar-terra-vect.R
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ create_format_terra_vect <- function(filetype, options, ...) {
terra::writeVector(
object,
path,
filetype = NULL,
filetype = geotargets::geotargets_option_get("gdal.vector.driver"),
overwrite = TRUE,
options = NULL
options = geotargets::geotargets_option_get("gdal.vector.creation_options")
)
}
body(.write_terra_vector)[[2]][["filetype"]] <- filetype
Expand Down

0 comments on commit 66c5531

Please sign in to comment.