njtierney / geotargets

Targets extensions for geospatial data
https://njtierney.github.io/geotargets/
Other
49 stars 4 forks source link

Add a step to github action to print GDAL version #72

Closed Aariq closed 1 month ago

Aariq commented 1 month ago

For easier debugging.

Aariq commented 1 month ago

Oh interesting. I guess terra uses some different gdal on macOS and windows (I was wondering why those tests worked without an explicit step to install system dependencies). E.g. on my computer gdalinfo --version gives GDAL 3.8.5, released 2024/04/02 but terra::gdal() gives [1] "3.5.3"

brownag commented 1 month ago

Oh interesting. I guess terra uses some different gdal on macOS and windows (I was wondering why those tests worked without an explicit step to install system dependencies). E.g. on my computer gdalinfo --version gives GDAL 3.8.5, released 2024/04/02 but terra::gdal() gives [1] "3.5.3"

If installing a binary package from CRAN or r-universe or similar, default for windows and macOS, you get whatever version is currently bundled by the repository maintainers.

If compiling from source it will use your local installed version.