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

Github actions are failing if suggested package "rSW2exter" failed to install #198

Open
dschlaep opened this issue Jul 14, 2022 · 2 comments
Assignees

Comments

@dschlaep
Copy link
Member

  • package "rSW2exter" is (currently) not installed on GHA macOX because ERROR: dependencies ‘rSW2st’, ‘sf’ are not available for package ‘rSW2exter’

  • installation of packages 'rSW2st', 'sf', 'terra', 'rgdal' fails with configure: error: gdal-config not found or not executable.

https://github.com/DrylandEcology/rSOILWAT2/runs/7341269777?check_suite_focus=true

@dschlaep dschlaep self-assigned this Jul 14, 2022
@dschlaep
Copy link
Member Author

proper approach: have GHA install gdal on macOS

hack until resolved properly: set _R_CHECK_FORCE_SUGGESTS_: false (which is ok since rSW2exter is only utilized in a vignette and protected)

@dschlaep dschlaep changed the title Github actions are failing on macOS Github actions are failing if suggested package "rSW2exter" failed to install Jul 14, 2022
@dschlaep
Copy link
Member Author

this issue just popped up on GHA windows as well: https://github.com/DrylandEcology/rSOILWAT2/runs/7341613399?check_suite_focus=true

dschlaep added a commit that referenced this issue Jul 14, 2022
- addressing issue #198: frequent failures of GHA because suggested package "rSW2exter" cannot be installed (usually GDAL-related problems on GHA)

- this hack should be ok because "rSW2exter" is only utilized in a vignette and not executed if not available

- once issue #198 is properly resolved consider removing `_R_CHECK_FORCE_SUGGESTS_: false`
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

No branches or pull requests

1 participant