软件包“tidyverse”不可用

package ‘tidyverse’ is not available

我正在尝试安装 "tidyverse",但出现以下错误。

install.packages("tidyverse")

package ‘tidyverse’ is available as a source package but not as a binary

Warning in install.packages :
  package ‘tidyverse’ is not available (as a binary package for R version 3.1.3)

以下是我的 Session 的详细信息。

sessionInfo()
R version 3.1.3 (2015-03-09)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.12.1 (unknown)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods  
[7] base     

loaded via a namespace (and not attached):
[1] tools_3.1.3

有人知道这里缺少什么吗?

谢谢。

你试过了吗:

install.packages('tidyverse', dependencies=TRUE, type="source")

您可能还想尝试更新您正在使用的 R 版本。

如果您正在使用 ubuntu 试试这个,然后再次安装 tidyverse

Required for many packages

sudo apt-get install -y libxml2-dev libcurl4-openssl-dev libssl-dev