Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for empty GEOTARGETS_GDAL_RASTER_CREATION_OPTIONS #40

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

brownag
Copy link
Contributor

@brownag brownag commented Mar 16, 2024

In #30 I replaced the unset value returned by Sys.getenv() for GEOTARGETS_GDAL_RASTER_CREATION_OPTIONS

Calling strsplit("", ";)[[1]] returns character(0), which will cause an error in Sys.getenv(). This PR gets us the intended default value of ""

@njtierney
Copy link
Owner

njtierney commented Mar 17, 2024

Nice work! That's a good catch. I think writing a test here would be a good idea (I'm very happy to tackle that!) - lodged #41

@njtierney njtierney merged commit 85e5eef into njtierney:master Mar 18, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants