devtools / GitHub下载错误 [英] devtools/GitHub download error
问题描述
截至今日,我无法使用 devtools
从GitHub安装软件包。我不知道错误在于:
- 我
- devtools
- GitHub
我使用 install_github
并且得到以下错误:
$ p $ library(devtools)
install_github(reports,trinker)
##>库(devtools)
##> install_github(reports,trinker)
##从trinker安装github repo(s)reports / master
##从https://github.com/trinker/reports/安装reports.zip archive / master.zip
##函数错误(类型,msg,asError = TRUE):
##传输已关闭,剩余未完成的读取数据
##
## TRIED WITH SECOND REPO:
##
##> install_github(acc.roxygen2,trinker)
##从trinker安装github repo(s)acc.roxygen2 / master
##从https:// github安装acc.roxygen2.zip。 com / trinker / acc.roxygen2 / archive / master.zip
##函数错误(类型,msg,asError = TRUE):
##传输已关闭,剩余未完成的读取数据
我试着用第二次回购得到相同的错误。我知道其他类似的错误与安全证书有关。
这是我的github repo https://github.com/trinker/报告
我似乎无法下载和安装。我可以安装 tar.gz 文件R build。
错误发生在哪里,为什么会发生? PS我可以为其他人的github安装: 编辑 我也可以安装我自己的qdap: 这似乎是您的回购问题。 tarball 似乎不是空的。我的猜测是,这只是github上的一个呃逆,应该随着时间消失。 As of today I can not use I'm using I tried this with a second repo and get the same error. I know that other similar errors are related to security certificate. Here's my github repo https://github.com/trinker/reports I can't seem to download and install either. I can install the tar.gz file produced by an R build though. Where is the error occurring and why is it occurring? PS I can install for other people's github: EDIT I can install my own qdap as well:
This appears to be a problem with your repo. The tarball doesn't seem to be empty. My guess is that it's just a hiccup in github that should go away with time. 这篇关于devtools / GitHub下载错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
$ p $ library $ dev $ b $ install_github(findPackage, Dasonk)
library(devtools)
install_github(qdap ,trinker)
install_github
抓取与您的存储库关联的.zip文件。由于某种原因,你的文件似乎是一个空的.zip文件,所以很显然它不能安装。
devtools
to install a package from GitHub. I don't know if the error lies in:
install_github
as follows and get the following error:library(devtools)
install_github("reports", "trinker")
## > library(devtools)
## > install_github("reports", "trinker")
## Installing github repo(s) reports/master from trinker
## Installing reports.zip from https://github.com/trinker/reports/archive/master.zip
## Error in function (type, msg, asError = TRUE) :
## transfer closed with outstanding read data remaining
##
## TRIED WITH SECOND REPO:
##
## > install_github("acc.roxygen2", "trinker")
## Installing github repo(s) acc.roxygen2/master from trinker
## Installing acc.roxygen2.zip from https://github.com/trinker/acc.roxygen2/archive/master.zip
## Error in function (type, msg, asError = TRUE) :
## transfer closed with outstanding read data remaining
library(devtools)
install_github("findPackage", "Dasonk")
library(devtools)
install_github("qdap", "trinker")
install_github
grabs the .zip file associated with your repository. For some reason yours seems to be an empty .zip file so clearly it can't install.