grimbough / bioc-actions

GitHub Actions for developing and maintaining Bioconductor packages
MIT License
11 stars 3 forks source link

Getting alpha/pre-release version of R #2

Open csoneson opened 2 years ago

csoneson commented 2 years ago

In v2 of https://github.com/r-lib/actions/tree/v2-branch/setup-r, it is now possible to specify next as the R version:

r-version ('release') - Version range or exact version of an R version to use. “devel” is the current development version, and “next” is the next version of R, either R-patched, or R-alpha, R-beta, R-rc or R-prerelease.

csoneson commented 1 year ago

It seems to me that the changes that were put in place last year (and that can now be properly tested 🙂) are working pretty well - I have obtained automatically both R-alpha and R-beta in my GitHub Actions in the past week or so 🎉. Currently the only thing that fails is the macOS build, but I think that's because https://api.r-hub.io/rversions/r-next-macos is still pointing to R 4.2.3 - the action in itself is looking for the 'next' version as expected.

grimbough commented 1 year ago

Excellent, I'm glad it's working for you. It's frustrating that he R-hub API is still pointing the the wrong version for Mac. For a while there wasn't a R-4.3 build available, but it's been on https://mac.r-project.org/. I'm not sure where to open an issue to try and get it update, it was hoping it would just fix itself after the binary became available.

csoneson commented 1 year ago

Looks like it has been fixed!