【问题标题】:'curl' error is not allowing packages installation in RStudio under renv'curl' 错误不允许在 renv 下的 RStudio 中安装包
【发布时间】:2021-05-22 18:09:49
【问题描述】:

我最近将 R 升级到 4.0.4,将 RStudio 升级到最新版本 1.4.1103。

步骤-

  1. 将软件包安装到系统库中 - 工作正常
  2. 在 R 项目中安装包 - 工作正常
  3. 将包安装到 renv 内的 R 项目中 - 无法这样做。我收到以下错误:
> install.packages("dplyr")
Error: package 'dplyr' is not available
In addition: Warning message:
curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate. 

我的会话信息如下:

R 版本 4.0.4 (2021-02-15) 平台:x86_64-w64-mingw32/x64(64 位) 运行于:Windows 10 x64(内部版本 18363)

矩阵产品:默认

语言环境:[1] LC_COLLATE=English_India.1252 LC_CTYPE=English_India.1252 LC_MONETARY=English_India.1252 [4] LC_NUMERIC=C
LC_TIME=English_India.1252

附加的基础包:[1] stats graphics grDevices datasets utils 方法库

通过命名空间加载(未附加):[1] compiler_4.0.4 tools_4.0.4 renv_0.12.5

我想知道为什么会这样。提前感谢您的帮助!

【问题讨论】:

    标签: r curl


    【解决方案1】:

    我在这里代表您提交了错误报告:https://github.com/rstudio/renv/issues/660

    也就是说,这很可能是以下内容的重复:

    curl: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate

    The revocation function was unable to check revocation because the revocation server was offline

    也就是说,您的系统/网络配置方式导致curl 无法正常运行。

    【讨论】:

      猜你喜欢
      • 2018-10-28
      • 2021-08-07
      • 2020-07-01
      • 1970-01-01
      • 2019-01-18
      • 2022-01-10
      • 2023-01-30
      • 2016-09-27
      • 2018-05-26
      相关资源
      最近更新 更多