admin管理员组文章数量:1122832
The error for the code is as follows:
Error: package or namespace load failed for ‘tidyverse’:
.onAttach failed in attachNamespace() for 'tidyverse', details:
call: NULL
error: package or namespace load failed for ‘tidyr’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
namespace ‘cli’ 3.3.0 is already loaded, but >= 3.6.1 is required
I have tried to update R and the packages, but none of that seems to work.
The code I am running:
install.packages("rtools")
remove.packages("vctrs")
install.packages("vctrs")
remove.packages("rlang")
install.packages("rlang")
library(tidyverse)
SB_Churn %>%
pivot_longer(cols = 6:19, names_to = "Variable", values_to = "Value") %>%
ggplot(aes(x = Value)) +
geom_histogram(fill = "purple") +
facet_wrap(~Variable, scales = 'free') +
theme_minimal() +
theme(axis.title = element_blank())
本文标签: rError package or namespace load failed for tidyverse’Stack Overflow
版权声明:本文标题:r - Error: package or namespace load failed for ‘tidyverse’: - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736301708a1931268.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论