【发布时间】:2017-11-05 08:25:20
【问题描述】:
我正在尝试编写一个 R 包。当我跑步时
devtools::check(),其中一条警告消息是
Found the following significant warnings:
Warning: Installed Rcpp (0.12.12) different from Rcpp used to build dplyr (0.12.10).
然后
remove.packages("Rcpp")
和
install.packages("Rcpp", repo = "https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/Rcpp_0.12.10.tgz")
它给了我
Warning in install.packages :
cannot open URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/Rcpp_0.12.10.tgz/src/contrib/PACKAGES.rds': HTTP status was '404 Not Found'
什么是最好的解决方案?非常感谢!!
【问题讨论】:
-
dplyr产生的或多或少的线路噪音可以忽略。这不是rcpp问题,所以我也会删除rcpp标记。
标签: r installation