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

问题描述

我在加载 tidyverse 时收到以下错误.一切正常几分钟前,当我运行我的 Shinyapp 时.我应该如何解决这个问题?

I'm getting the following error when I'm loading tidyverse. It was all working fine a few minutes ago when I was running my shinyapp. How should I resolve this?

错误:tidyverse"的包或命名空间加载失败loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):命名空间 ‘rlang’ 0.3.0.1 已加载,但需要 >= 0.3.1

推荐答案

我遇到了同样的问题,但设法解决了它.您可以使用以下命令删除当前版本的 rlang:

I had the same problem but managed to tackle it. You may remove the current version of rlang using the following command:

remove.packages("rlang")

然后再次安装rlang:

and then install the rlang again:

install.packages("rlang")

然后运行库:

library(tidyverse)

这篇关于错误:loadNamespace 中“tidyverse"的包或命名空间加载失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-19 17:52