Is Rtools incompatible with R version 3.5.1?

感情迁移 提交于 2019-12-03 05:47:07

No, I think it's related to devtools. You can check that devtools:::version_info is lacking 3.5. You could use this as a workaround:

library(devtools)
assignInNamespace("version_info", c(devtools:::version_info, list("3.5" = list(version_min = "3.3.0", version_max = "99.99.99", path = "bin"))), "devtools")

Now your install commands for any package that needs compilation will work again, assuming you have version 3.5 of it installed from https://cran.r-project.org/bin/windows/Rtools/.

See here for reference: https://github.com/r-lib/devtools/issues/1772

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!