Both GH actions (pkgdown & R-CMD-check) are failing when pushing content to the repo.
For both workflows (pkgdown & R-CMD-check) the run: r-lib/actions/setup-r-dependencies@v1 is failing on "Install Dependencies" with a call_remote_error: Cannot install packages: stating MASS: Needs R >= 4.3.
However, only R = 4.2 is currently available. And when I view MASS documentation we see that this actually depends on R >= 3.3, not 4.3 as stated in my error.
To Reproduce
the two workflows within the repo .github/workflows/ directory are:
R-CMD-check.yaml - failed workflow
pkgdown.yaml - failed workflow
Expected behavior
Checks to run and pass successfully as they have been doing previously (R-CMD-check pkgdown)
At first I thought this will have been a documentation/dependecy listing error, however this has been occuring for the last 14 days now, and this appears to be a shared issue.
Any help greatly appreciated.
CodePudding user response:
This has been fixed.
The issue was using the @v1 versions of r-lib/actions/... uses.
These needed to be manually bumped up to @v2.
In doing this two additional errors were created, but these are easily fixable as shown in this r-lib/actions GitHub issue log I created.
I hope this helps if anybody else has this issue.
