无法加载ggplot2软件包

时间:2020-04-02 19:55:58

标签: r namespaces package

我试图使用install_github安装emmeans,它要求我安装rtools,尝试这种方法后,我不仅没有成功安装带有以下代码的emmeans:

    devtools::install_github("rvlenth/emmeans", dependencies = TRUE, build_opts = "")

收到此消息:

Error: Failed to install 'emmeans' from GitHub: System command 'Rcmd.exe' failed, exit status: 1, stdout + stderr: 
checking for file 'C:\Users\jmb827\AppData\Local\Temp\RtmpYrGInN\remotes387066d354e0\rvlenth-emmeans-32bf444/DESCRIPTION' ... OK 
preparing 'emmeans': 
checking DESCRIPTION meta-information ... OK 
checking for LF line-endings in source and make files and shell scripts 
checking for empty or unneeded directories 
looking to see if a 'data/datalist' file should be added 
* building 'emmeans_1.4.5.009003.tar.gz' 

ERROR 
cannot change to directory ''

但现在无法在其他软件包中加载ggplot2并显示错误:

package �ggplot2� was built under R version 3.6.3Error: package or namespace load failed for ‘ggplot2’:
 package ‘tibble’ does not have a namespace

0 个答案:

没有答案