actions icon indicating copy to clipboard operation
actions copied to clipboard

[setup-r] Action fails on new windows-arm runners

Open andrjohns opened this issue 8 months ago • 3 comments

Describe the bug

Trying out the setup-r action errors on the new windows-11-arm runner with:

> Run r-lib/actions/setup-r@v2
Error: Error: Failed to resolve R version release at https://api.r-hub.io/rversions/resolve/release/win/arm64.

To Reproduce

Failed workflow run & file here: https://github.com/stan-dev/math/actions/runs/14557296310/job/40835887510

Thanks!

andrjohns avatar Apr 20 '25 07:04 andrjohns

As a temporary work around I came up with a Powershell script to install Windows aarch64 R 4.5.0 and RTools45 on this runner (you can amend URLs for different versions as required).

https://remlapmot.github.io/post/2025/win-11-arm-gha/

remlapmot avatar Apr 20 '25 09:04 remlapmot