github操作失败(r-lib/action/setup-r依赖性@v1)作为质量:需求r> = 4.3>但是只有r = 4.2可用吗?

发布于 2025-02-07 03:37:07 字数 1581 浏览 0 评论 0 原文

在将内容推向回购时,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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夏至、离别 2025-02-14 03:37:07

这已经解决了。

问题是使用 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文