一段时间后,我发现了一个变通办法,如果您要测试开发版本(如我想要的),目前已经足够了。您应该install_github
在check.yaml
文件中包含一个命令。这是一个例子:
- name: Install dependencies
run: |
install.packages(c("remotes","testthat"),dependencies=TRUE)
remotes::install_github("tidyverse/dplyr")
remotes::install_cran("covr")
shell: Rscript {0}
上面的代码片段解决了我的问题,因为我想依赖将来的dplyr
版本。您可以在此处查看完整yaml
文件。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句