本文介绍了加载 tidyverse 时出错:包或 namspace laod 失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚下载了 R(版本 4.0.3)和 RStudio(1.3.1093).软件包似乎安装正常,但是当我尝试加载 tidyverse 时,出现以下错误消息:

I just downloaded R (version 4.0.3) and RStudio (1.3.1093). The packages seem to be installed okay but when I try to load tidyverse, the following error messege appears:

Error: package or namespace load failed for ‘tidyverse’ in namespaceExport(ns, exports):
undefined exports: check_dots_empty, check_dots_unnamed, check_dots_used, safe_median
In addition: Warning message:
S3 method ‘safe_median.numeric’ was declared in NAMESPACE but not found

我最近在另一台计算机上下载了 R 和 RStudio(相同版本),并且没问题.我尝试卸载并重新安装 R 和 RStudio,删除软件包并再次安装它们.此外,我已经浏览了许多关于类似问题的 stackoverflow 帖子,但没有任何效果.

I recently downloaded R and RStudio (the same versions) on another computer and it was okay. I've tried uninstalling and reinstalling R and RStudio, removing the packages and installing them again. Furthermore, I've gone through the numerous stackoverflow posts on similar problems but nothing has worked.

如果能解决这个问题,我将不胜感激!

I'd be incredibly grateful for a solution to this problem!

推荐答案

这些函数都来自 ellipsis 包.可能所有 tidyverse 包都安装正确,但是 ellipsis 包的安装有问题.尝试安装 ellipsis 包,然后安装 tidyverse.

These functions are all from the ellipsis package. It is possible that all of the tidyverse packages installed properly, but that there is something wrong with the install of the ellipsis package. Try installing the ellipsis package, and then the tidyverse.

这篇关于加载 tidyverse 时出错:包或 namspace laod 失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-19 17:52