首页 > 解决方案 > 在 R 中加载包 RcmrdMisc 和 tidyverse 时出错

问题描述

我无法在 R 环境中加载一些包。包弹出如下错误信息RcmdrMisc

Loading required package: car
Loading required package: carData
Loading required package: sandwich
Error: package or namespace load failed for ‘RcmdrMisc’:
 .onLoad failed in loadNamespace() for 'checkmate', details:
  call: NULL
  error: package ‘backports’ does not have a namespace

另外,我收到了类似的包错误tidyverse

Error: package or namespace load failed for ‘tidyverse’:
 .onLoad failed in loadNamespace() for 'broom', details:
  call: NULL
  error: package ‘backports’ does not have a namespace

我已经尝试卸载软件包并重新安装它们。但错误仍然存​​在。

我已经为各个软件包安装了依赖项。我已经下载了R和的最新可用更新RStudio,但无济于事。我究竟做错了什么?这个问题有什么解决办法吗?

标签: rpackagetidyverse

解决方案


推荐阅读