错误:在loadNamespace中“ tidyverse”的包或名称空间加载失败 [英] Error: package or namespace load failed for ‘tidyverse’ in loadNamespace

查看:1979
本文介绍了错误:在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?


错误:在
loadNamespace(i,c( lib.loc,.libPaths()),versionCheck = vI [[i]]):
名称空间 rlang已加载0.3.0.1,但> = 0.3.1是必需的

Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): namespace ‘rlang’ 0.3.0.1 is already loaded, but >= 0.3.1 is required


推荐答案

我遇到了同样的问题,但是设法解决了。您可以使用以下命令删除当前版本的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”的包或名称空间加载失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆