-
Notifications
You must be signed in to change notification settings - Fork 21
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 ghactions from sf #34
Conversation
I am definitely not an expert on GH actions, but was wondering: is it needed for the sfnetworks repo to include system dependency checks of sf's system dependencies? I mean, But as said, this remark comes from a complete non-expert in GH actions! ;) |
Those dependencies are in there to allow the package to install. We need to add sf system dependencies before installing any package that uses sf. I'm a fan of simplicity and there may be ways to further simplify the .yaml code but I think this is currently close to the simplest we can get it. |
Quick question for @etiennebr, building on your experience pioneering the use of GH Actions in sf, is there a simpler way of getting sf dependencies installed? Here's the currently (passing) setup I'm suggesting for this package: https://github.com/luukvdmeer/sfnetworks/blob/ea43e21ae6fe54f46a700568d5255b47ab7f207c/.github/workflows/R-CMD-check.yaml |
Depending on the dependencies you need, you could use the precompiled binaries. It seems to work for, e.g., If this fails, then I think using - uses: r-spatial/actions/setup-gdal@master # doesn't exist yet :( Note that I'm working on the |
Great, many thanks @etiennebr, that is really useful to know. For now the fact that it passes is the main thing. If it starts failing, or if I see activity in r-spatial/sf#1309 , we can always revisit. Hugely appreciative of the work you're doing on automated tests and continuous integration for key geographic R packages. |
No description provided.