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

Fixes after options, terra, and tar_terra_sprc() updates #60

Merged
merged 6 commits into from
Apr 29, 2024

Conversation

brownag
Copy link
Contributor

@brownag brownag commented Apr 27, 2024

Here are some things I noticed while bringing the tar-stars (#33) branch up to date. Doing a separate PR as they are not related to the {stars} changes

In this PR:

  • geotargets_option_get(): Handle case when getOption() returns vector length >1

  • get_gdal_available_driver_list(): Fix for terra::gdal(drivers=TRUE) table format. This has changed in the development version of terra (currently 1.7-75 vs. CRAN 1.7-71). For now handle older package versions differently by checking with packageVersion() before subsetting driver list. {terra} now reports drivers similarly to how {sf} does RE: GDAL drivers with raster and vector capabilities not properly reported in gdal(drivers=TRUE) rspatial/terra#1465

  • tar_terra_sprc(): Fix specification of multiple raster creation options in test and add snapshot

@njtierney
Copy link
Owner

This looks great to me and passes checks - thanks for submitting, @brownag !

@njtierney njtierney merged commit 527b509 into njtierney:master Apr 29, 2024
7 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.

None yet

2 participants