r-lib/actions

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

Opened this issue · 1 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!

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/