首页 > 解决方案 > Tidyverse 突然崩溃

问题描述

因此,我的整套 tidyverse 软件包已决定不再加载。我没有做任何事情或改变任何事情,突然上周三工作的脚​​本今天不再工作。

这只是我在尝试加载 ggplot2 时遇到的错误示例:

Error: package or namespace load failed for ‘ggplot2’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
 namespace ‘pillar’ 1.2.2 is being loaded, but >= 1.3.1 is required

所以然后我尝试安装“支柱”并得到了这个

installing the source package ‘pillar’

trying URL 'https://cran.rstudio.com/src/contrib/pillar_1.4.2.tar.gz'
Content type 'application/x-gzip' length 228815 bytes (223 KB)
downloaded 223 KB

'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Warning in install.packages :
  running command '"C:/Program Files/R/R-34~1.1/bin/x64/R" CMD INSTALL -l "C:\Users\60129180\Documents\R\win-library\3.4" C:\Temp\Rtmp8qhyCz/downloaded_packages/pillar_1.4.2.tar.gz' had status 1
Warning in install.packages :
  installation of package ‘pillar’ had non-zero exit status

这似乎是文件路径规范的错误,但它是一个非常新的错误,因为该install.packages()函数到目前为止运行良好。当曾经有效的东西突然不再有效时,我发现它是如此令人不安。

从在线活动来看,tidyverse 团队中的某个人已经搞砸了。错误只会在您更改某些内容时发生。

标签: rggplot2dplyrtidyverse

解决方案


推荐阅读