【问题标题】:Cannot install devtools properly without digest R没有摘要 R 无法正确安装 devtools
【发布时间】:2018-01-31 15:24:17
【问题描述】:

我升级到 R 版本 3.4.3,但我无法再安装和使用 devtools - 似乎是因为安装 digest 时出现问题。我收到以下错误:

install.packages("devtools", dependencies = TRUE)
Warning in install.packages :
  dependency ‘BiocInstaller’ is not available
also installing the dependency ‘digest’

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/digest_0.6.15.tgz'
Warning in install.packages :
  cannot open URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/digest_0.6.15.tgz': HTTP status was '404 Not Found'
Error in download.file(url, destfile, method, mode = "wb", ...) : 
  cannot open URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/digest_0.6.15.tgz'
Warning in install.packages :
  download of package ‘digest’ failed
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/devtools_1.13.4.tgz'
Content type 'application/x-gzip' length 439078 bytes (428 KB)

我已经卸载并重新安装了 R,升级了 RStudio,手动删除了devtools 并尝试重新安装。我在 Mac 10.12.6 Sierra 上。任何帮助表示赞赏。

【问题讨论】:

  • 要解决这个问题,您可以简单地运行:install.packages("digest", type = "source")

标签: r devtools


【解决方案1】:

运行install.packages("digest", type = "source")。它记录在digest GitHub 上。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2015-08-30
    • 2015-09-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-03-21
    • 2017-04-26
    • 2019-01-07
    相关资源
    最近更新 更多