在Github操作上安装R包本身



在开始运行rcmdcheck之前,如何在GitHub操作中安装R包本身(基于触发操作的版本(?

这是R包本身的解决方案。将此部分添加到工作流的Installing dependencies部分。

- name: Install dependencies
run: |
remotes::install_deps(dependencies = TRUE)
remotes::install_cran("rcmdcheck")
remotes::install_cran("devtools")
devtools::install()
shell: Rscript {0}

最新更新