actions icon indicating copy to clipboard operation
actions copied to clipboard

[setup-r] Install fails due to missing installer binary

Open assignUser opened this issue 2 years ago • 1 comments

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.

assignUser avatar Jun 24 '22 12:06 assignUser

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?

gaborcsardi avatar Jun 24 '22 15:06 gaborcsardi

We will do this at some point as part of #521.

gaborcsardi avatar Oct 20 '22 07:10 gaborcsardi

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

github-actions[bot] avatar Nov 04 '22 13:11 github-actions[bot]