gpt4 book ai didi

r - 特拉维斯错误 : "package ‘devtools’ was installed by an R version with different internals; it needs to be reinstalled for use with this R version"

转载 作者:行者123 更新时间:2023-12-04 12:01:06 24 4
gpt4 key购买 nike

执行 git push 后,我从 Travis 收到以下错误:

Installing R packages from GitHub: jimhester/covr
$ Rscript -e 'devtools::install_github(c("jimhester/covr"),
build_vignettes = FALSE)'

Error: package ‘devtools’ was installed by an R version with different
internals; it needs to be reinstalled for use with this R version

Execution halted

您可以在此处找到更多信息:
https://travis-ci.org/bozmik/genomation/jobs/315357710#L1125

你知道如何解决这个问题吗?

最佳答案

你可以加

r_packages:
- devtools


r_github_packages:
- jimhester/covr

这解决了我的问题。

关于r - 特拉维斯错误 : "package ‘devtools’ was installed by an R version with different internals; it needs to be reinstalled for use with this R version",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47775434/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com