在将内容推向回购时,GH动作(PKGDOWN& r-cmd-check)都失败了。
对于两个工作流(pkgdown& r-cmd-check)运行: r-lib/action/setup-r depentencies@v1
在“安装依赖项”上失败, call_remote_error:无法安装软件包:
说明质量:需要R> = 4.3。
,
但是,当前只有r = 4.2。当我查看质量时在R> = 3.3上,而不是我的错误中所述的4.3。
重现
repo .github/workflows/
目录中的两个工作流是:
r-cmd-check.yaml -
pkgdowrer“> pkgdown.yaml yam> - - 失败的工作
流程
检查以前的检查以成功跑步和通过( pkgdown> pkgdown
) /依赖性列表错误,但是这已经发生在过去的14天中,这似乎是共享问题。
任何帮助都非常感谢。
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.
发布评论
评论(1)
这已经解决了。
问题是使用
r-lib/action /...用途的 @v1版本。
这些需要手动撞到 @v2。
在发生这两个错误时,可以很容易地解决这些错误,如此 r- lib/action github问题日志我创建了。
我希望如果其他人遇到这个问题,这会有所帮助。
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.