Skip to content

Commit

Permalink
Merge pull request #40 from brownag/fixempty
Browse files Browse the repository at this point in the history
fix for empty GEOTARGETS_GDAL_RASTER_CREATION_OPTIONS
  • Loading branch information
njtierney committed Mar 18, 2024
2 parents e7d95d7 + 30a705b commit 85e5eef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/geotargets-option.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ geotargets_option_get <- function(option_name) {
get_geotargets_gdal_raster_creation_options <- function(option_name, option_value) {
gdal_creation_options <- Sys.getenv(
x = "GEOTARGETS_GDAL_RASTER_CREATION_OPTIONS",
unset = get_option(option_name, option_value, "")
unset = get_option(option_name, option_value, ";")
)
the_option <- strsplit(gdal_creation_options, ";")[[1]]
the_option
Expand Down

0 comments on commit 85e5eef

Please sign in to comment.