install_bitbucket失败,出现404错误 [英] install_bitbucket fails with 404 error
本文介绍了install_bitbucket失败,出现404错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想从bitbucket安装此软件包: https://bitbucket.org/mkuhn/parallelrandomforest/
I'd like to install this Package from bitbucket: https://bitbucket.org/mkuhn/parallelrandomforest/
但是如果我运行install_bitbucket
> devtools::install_bitbucket("mkuhn/parallelrandomforest")
Downloading bitbucket repo mkuhn/parallelrandomforest@master
Error in download(dest, src, auth) : client error: (404) Not Found
如果我从?install_bitbucket
运行命令,即install_bitbucket("dannavarro/lsr-package")
,则运行正常.
If i run the command from ?install_bitbucket
namely install_bitbucket("dannavarro/lsr-package")
it works perfectly.
任何想法
R version 3.1.2 (2014-10-31)
Platform: x86_64-pc-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=C LC_COLLATE=C LC_MONETARY=C LC_MESSAGES=C
[7] LC_PAPER=C LC_NAME=C LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=C LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] RCurl_1.95-4.5 bitops_1.0-6 devtools_1.7.0 httr_0.6.1 stringr_0.6.2 tools_3.1.2
推荐答案
通常,主分支应称为master
,但他们设法将其称为default
.
Usually the master branch should be called master
, but they managed to call it default
.
devtools::install_bitbucket("mkuhn/parallelrandomforest@default")
这篇关于install_bitbucket失败,出现404错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文