与 ggproto 相关的 R plotROC 包失败
R plotROC package failing related to ggproto
运行
install.packages("ggplot2", repos = "https://cloud.r-project.org")
install.packages("plotROC", repos = "https://cloud.r-project.org")
library(plotROC)
plotROC::geom_roc()
在我的 mac 上的 R 导致
> plotROC::geom_roc()
Error: GeomRoc was built with an incompatible version of ggproto.
Please reinstall the package that provides this extension.
我看过其他一些与 "ggproto" 相关的 SO 帖子,但 none 的建议对我有用,我有点忘记到目前为止我到底尝试了什么。
plotROC
一定是"package that provides this [ggproto] extension"吗?如果是这样,除了如上所示重新安装之外,我还能尝试什么?如果没有,我如何确定需要更新的包?
谷歌搜索表明安装开发版本可能会有所帮助:
devtools::install_github("hadley/ggplot2")
devtools::install_github("sachsmc/plotROC")
见this related SO answer。
运行
install.packages("ggplot2", repos = "https://cloud.r-project.org")
install.packages("plotROC", repos = "https://cloud.r-project.org")
library(plotROC)
plotROC::geom_roc()
在我的 mac 上的 R 导致
> plotROC::geom_roc()
Error: GeomRoc was built with an incompatible version of ggproto.
Please reinstall the package that provides this extension.
我看过其他一些与 "ggproto" 相关的 SO 帖子,但 none 的建议对我有用,我有点忘记到目前为止我到底尝试了什么。
plotROC
一定是"package that provides this [ggproto] extension"吗?如果是这样,除了如上所示重新安装之外,我还能尝试什么?如果没有,我如何确定需要更新的包?
谷歌搜索表明安装开发版本可能会有所帮助:
devtools::install_github("hadley/ggplot2")
devtools::install_github("sachsmc/plotROC")
见this related SO answer。