R-CMD-check fails on macos-latest (release); r-lib/actions/setup-r@v2

Hello. I'm having issues with My R-CMD-check on this package: Workflow runs · bmait101/hatchR · GitHub

It only occurs on macos-latest (release) and not locally on my computer. or using when using devtools::check_mac_release(). I am using a Dell with Windows, not a Mac. It occurred once two days ago, not yesterday, and is occurring again today.

My error is from r-lib/actions/setup-r@v2: Error: Failed to get R release: Failed to get R 4.4.2: Failed to install qpdf: Error: The process '/opt/homebrew/bin/brew' failed with exit code 1.

If anybody can see what's wrong here, help would be appreciated. Workflow file located here: hatchR/.github/workflows/R-CMD-check.yaml at master · bmait101/hatchR · GitHub

Thanks

4 Likes

Several of my Actions are failing for the same reason. These Actions have been running successfully for years.

2 Likes

same here! :frowning:

here's one of mine:

i think this might be a homebrew issue, but still unsure.

-shawn

1 Like

Same here: bigbookofr_bot · oscarbaruffa/bigbookofr_bot@0f4aa09 · GitHub

1 Like

Another "this is happening to me too" reply here.
I encountered this problem yesterday. It resolved itself without me doing anything, but now I’m back to experiencing the same issue.
macOS: Failed to install qpdf.

1 Like

This is an error either in Homebrew or the runner image (version 20241119.509). The latest runner image (20241022.361) fixes this, it is being deployed right now. Deployment is a long process, so it might still be happening for some time.

EDIT: Actually, this is backwards. 20241022.361 was ok, 20241119.509 broke the install. But the latest release of r-lib/actions@v2 fixed this.

6 Likes

The new deployment appears to have solved this. Passing all checks now. Thanks @Gabor !

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.