-
Notifications
You must be signed in to change notification settings - Fork 0
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
Ubuntu latest removes R from its default installation #30
Comments
Note that this does not affect our package repositories because we already install the latest version of R by default. |
Noting that this issue (hubverse-org/hubValidations#57) also exists and might be worth bumping up the priority ladder and benchmarking against the above options. This option is also a potential: https://github.com/eddelbuettel/github-actions/tree/master/r2u-setup |
This will buy us some time to figure out the best solution for #30
Note that if a hub is using the vanilla workflow, hub admins or team members on forks needing to update their workflow can use |
Oh we should make a release first, no? |
I'll go ahead and do that. |
Oh yeah good call! |
done! |
I'm going to close this issue as it has been addressed and communicated. |
Instructions for Hub Administrators 2024-12-11
If you have not customized your workflows, use the
hubCI
package to update your workflows:Problem
In actions/runner-images#10636, GitHub announced that the
ubuntu-latest
workflows are removing R.They are rolling this feature out across runners at the moment:
Impact
This means that all validation checks will eventually fail as the update rolls out.
It has already hit the flu sight repo in cdcepi/FluSight-forecast-hub#1251
I made a PR for them to pin their ubuntu runner: cdcepi/FluSight-forecast-hub#1253
Solution
The solution is one of two things:
install-r: true
in the setup R stepThe benefits of pinning the ubuntu runner to 22.04 is that it will continue to work for another three years (LTS lifecycle). The drawback is that we will eventually have to find a better solution when LTS ends.
The downside of setting
install_r: true
is that it increases the run time of the validation by about a minute. This is primarily an issue for submission turnover and not of cost since the runner minutes on public repositories do not count against allocated minutes.The text was updated successfully, but these errors were encountered: