无法访问存储库https://macos.rbind.org/src/contrib的索引
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了无法访问存储库https://macos.rbind.org/src/contrib的索引相关的知识,希望对你有一定的参考价值。
我正在尝试在macOS(Link)上安装响尾蛇:
system('brew install gtk+')
local({
if (Sys.info()[['sysname']] != 'Darwin') return()
.Platform$pkgType = 'mac.binary.el-capitan'
unlockBinding('.Platform', baseenv())
assign('.Platform', .Platform, 'package:base')
lockBinding('.Platform', baseenv())
options(
pkgType = 'both', install.packages.compile.from.source = 'always',
repos = 'https://macos.rbind.org'
)
})
install.packages(c('RGtk2', 'cairoDevice', 'rattle'))
但是我收到以下错误:
Warning in install.packages :
unable to access index for repository https://macos.rbind.org/src/contrib:
cannot open URL 'https://macos.rbind.org/src/contrib/PACKAGES'
Warning in install.packages :
unable to access index for repository https://macos.rbind.org/src/contrib:
cannot open URL 'https://macos.rbind.org/src/contrib/PACKAGES'
Warning in install.packages :
packages ‘RGtk2’, ‘cairoDevice’, ‘rattle’ are not available (for R version 3.6.2)
Warning in install.packages :
unable to access index for repository https://macos.rbind.org/bin/macosx/el-capitan/contrib/3.6:
cannot open URL 'https://macos.rbind.org/bin/macosx/el-capitan/contrib/3.6/PACKAGES'
看着上面的错误,我看到的是取代:
packages ‘RGtk2’, ‘cairoDevice’, ‘rattle’ are not available (for R version 3.6.2)
虽然我在基于R 3.6.2的Windows上安装了拨浪鼓,但是>
我正在MacOS(Link)上安装响尾蛇:system('brew install gtk +')local({if(Sys.info()[['sysname']]!='Darwin')return().Platform $ pkgType ='mac.binary.el-capitan'unlockBinding('...
答案
似乎macos.rbind.org不再处于活动状态。也许尝试mac.r-project.org。也就是说,替换
以上是关于无法访问存储库https://macos.rbind.org/src/contrib的索引的主要内容,如果未能解决你的问题,请参考以下文章
无法通过 SSH 连接到我的 Bitbucket 存储库 - conq:存储库访问被拒绝
错误:未找到存储库。致命:无法从远程存储库中读取。请确保您拥有正确的访问权限并且 repo 存在