简体   繁体   English

如何修复R中的“错误:'名称空间:dplyr'未导出对象'as_tibble'错误:包'BLANK'的延迟加载失败”

[英]How to fix “Error : object ‘as_tibble’ is not exported by 'namespace:dplyr' ERROR: lazy loading failed for package ‘BLANK’” in R

Whenever I try to install any packages in RI now get this error. 每当我尝试在RI中安装任何软件包时,都会出现此错误。 This didn't used to happen and is new within the last month and seems to be ubiquitous across all packages I try to install. 这种情况以前从未发生过,并且在上个月是新出现的,并且在我尝试安装的所有软件包中似乎无处不在。

I am using R studio but the error occurred when I tried to use just R alone, as well. 我正在使用R studio,但是当我尝试仅单独使用R时发生了错误。 Currently trying to install rscopus package but the error occurs with most all packages I have tried to install. 当前正在尝试安装rscopus软件包,但是我尝试安装的大多数所有软件包都出现错误。

Thanks. 谢谢。

Console: 安慰:

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() Sessioninfo()

R version 3.3.2 (2016-10-31) Platform: x86_64-apple-darwin13.4.0 (64-bit) Running under: macOS 10.14.1 R版本3.3.2(2016-10-31)平台:x86_64-apple-darwin13.4.0(64位)运行于:macOS 10.14.1

locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 区域设置:[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 base 附加的基本软件包:[1]统计信息图形grDevices utils数据集方法基础

other attached packages: [1] tibble_1.3.4 DescTools_0.99.21 dplyr_0.5.0 car_2.1-4 其他随附的软件包:[1] tibble_1.3.4 DescTools_0.99.21 dplyr_0.5.0 car_2.1-4

loaded via a namespace (and not attached): [1] Rcpp_0.12.11 magrittr_1.5 splines_3.3.2 MASS_7.3-45 lattice_0.20-34 通过名称空间(且未附加)加载:[1] Rcpp_0.12.11 magrittr_1.5 splines_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 [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 [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 [16] quantreg_5.29 DBI_0.5-1 MatrixModels_0.4-1 lme4_1.1-12 assertthat_0.1
[21] manipulate_1.0.1 Matrix_1.2-7.1 nloptr_1.0.4 boot_1.3-18 expm_0.999-2 [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 [26] mvtnorm_1.0-6 SparseM_1.74 foreign_0.8-67

For anyone else with similar issues, I updated to the newest version of R and it seemed to solve the problem. 对于其他遇到类似问题的人,我已更新到R的最新版本,它似乎可以解决问题。

Thinking back to the origin of the problem, it coincided with updated to OS X Mojave. 回想问题的根源,它与对OS X Mojave的更新相吻合。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 错误:package 或“tidyverse”的命名空间加载失败:object “relocate”未由“namespace:dplyr”导出 - Error: package or namespace load failed for ‘tidyverse’: object ‘relocate’ is not exported by 'namespace:dplyr' 在 R 中加载 Lime package 时出现错误“对象 'coef.cv.glmnet' 未由 'namespace:glmnet' 导出” - - error “object ‘coef.cv.glmnet’ is not exported by 'namespace:glmnet' ” while loading Lime package in R - 从 GitHub 加载 R package 时出现“包或命名空间加载失败”错误 - "package or namespace load failed" error in loading R package from GitHub R包中的延迟加载错误 - Lazy loading error in R package 加载 package ggh4x 时出错:错误:package 或名称空间加载失败 'ggh4x':object 'cli_abort'未导出 - loading the package ggh4x in error: Error: package or namespace load failed for ‘ggh4x’: object ‘cli_abort’ is not exported by 'namespace:cli' 错误:R 3.5.3上的程序包RcppArmadillo的延迟加载失败 - ERROR: lazy loading failed for package RcppArmadillo on R 3.5.3 避免在 dplyr 中重复 as_tibble() - Avoid repeating as_tibble() in dplyr 错误:&#39;arulesViz&#39;的包或名称空间加载失败:对象&#39;cividis&#39;不会被&#39;namespace:viridisLite&#39;导出 - Error: package or namespace load failed for ‘arulesViz’: object ‘cividis’ is not exported by 'namespace:viridisLite' 错误:“gt”的包或命名空间加载失败:“命名空间:fastmap”未导出对象“faststack” - Error: package or namespace load failed for ‘gt’: object ‘faststack’ is not exported by 'namespace:fastmap' 使用 dplyr 时出错:object 'data_frame' 不是由 'namespace:vctrs' 导出的 - Error using dplyr : object ‘data_frame’ is not exported by 'namespace:vctrs'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM