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

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

Merged
merged 2 commits into from
May 21, 2024
Merged

Conversation

Aariq
Copy link
Collaborator

@Aariq Aariq commented May 17, 2024

For easier debugging.

@Aariq
Copy link
Collaborator Author

Aariq commented May 17, 2024

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
Copy link
Contributor

brownag commented May 17, 2024

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.

@Aariq Aariq merged commit 28a0cf5 into master May 21, 2024
7 checks passed
@Aariq Aariq deleted the print-gdal-version branch May 21, 2024 00:07
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