我想从 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")
它可以正常工作。
任何想法
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
。
devtools::install_bitbucket("mkuhn/parallelrandomforest@default")
关于r - install_bitbucket 失败并出现 404 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28064101/