每当我尝试在R中安装任何软件包时,都会出现此错误。这种情况以前从未发生过,并且在上个月才出现,在我尝试安装的所有软件包中似乎无处不在。
我正在使用R studio,但是当我尝试仅单独使用R时也会发生错误。当前正在尝试安装rscopus软件包,但是我尝试安装的大多数所有软件包都出现错误。
谢谢。
控制台:
installing the source package ‘rscopus’
trying URL 'https://cran.rstudio.com/src/contrib/rscopus_0.6.3.tar.gz'
Content type 'application/x-gzip' length 40422 bytes (39 KB)
==================================================
downloaded 39 KB
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'zone/tz/2018i.1.0/zoneinfo/America/New_York'
* installing *source* package ‘rscopus’ ...
** package ‘rscopus’ successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
Error : object ‘as_tibble’ is not exported by 'namespace:dplyr'
ERROR: lazy loading failed for package ‘rscopus’
* removing
‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/rscopus’
Warning in install.packages :
installation of package ‘rscopus’ had non-zero exit status
The downloaded source packages are in ‘/private/var/folders/wz/p_wg38vx11vcp94hhcw5dv_w0000gn/T/RtmpaJeH3b/downloaded_packages’
Sessioninfo()
R版本3.3.2(2016-10-31) 平台:x86_64-apple-darwin13.4.0(64位) 运行于:macOS 10.14.1
语言环境: [1] en_US.UTF-8 / en_US.UTF-8 / en_US.UTF-8 / C / en_US.UTF-8 / en_US.UTF-8
附带的基本软件包: [1]统计图形grDevices utils数据集方法基础
其他附件包: [1] tibble_1.3.4 DescTools_0.99.21 dplyr_0.5.0 car_2.1-4
通过名称空间(未附加)加载:
[1] Rcpp_0.12.11 magrittr_1.5花键_3.3.2 MASS_7.3-45晶格_0.20-34
[6] R6_2.2.0 rlang_0.1.6 minqa_1.2.4 tools_3.3.2 nnet_7.3-12
[11] parallel_3.3.2 pbkrtest_0.4-6 grid_3.3.2 nlme_3.1-128 mgcv_1.8-15
[16] quantreg_5.29 DBI_0.5-1 MatrixModels_0.4-1 lme4_1.1-12 assertthat_0.1
[21]操作_1.0.1 Matrix_1.2-7.1 nloptr_1.0.4 boot_1.3-18 expm_0.999-2
[26] mvtnorm_1.0-6 SparseM_1.74 foreign_0.8-67
答案 0 :(得分:0)
对于其他遇到类似问题的人,我已更新到R的最新版本,它似乎可以解决问题。
回想问题的根源,它与更新到OS X Mojave一样。