actions
actions copied to clipboard
[setup-r] Install fails due to missing installer binary
setup-r
with a numeric r-version: 4.2
automatically adds the latest released patch version (4.2.1 in this case) but does not check if the installer for mac/win is already released which makes the install fail if the installer is not released yet. Example on mac here.
This is of course an edge case and does not happen with r-version: "release"
but would require us to modify a lot of workflows to avoid and has been causing builds to fail for 2 days now.
Yeah, we could do this better. Ideally there would be some API at https://api.r-hub.io/rversions for this case.
For now we could fix the version number for 4.2
to 4.2.0
, like I did for Linux:
https://github.com/r-lib/actions/commit/4e1feaf90520ec1215d1882fdddfe3411c08e492
Do you want to try a PR for that?
We will do this at some point as part of #521.
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue and include a link to this issue