Error loading devtools / github

To date, I cannot use devtools to install a package from GitHub. I don't know if the error is:

  • Me
  • devtools
  • Github

I use 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 

I tried this with the second repo and got the same error. I know that other similar errors are related to the security certificate.

Here is my github repo https://github.com/trinker/reports

I can not download and install. I can install the tar.gz file created by the R structure though.

Where does the error occur and why does it occur?

PS I can install github for other people:

 library(devtools) install_github("findPackage", "Dasonk") 

EDIT

I can also install my own qdap:

 library(devtools) install_github("qdap", "trinker") 
+4
source share
1 answer

This is apparently a problem with your repo. install_github captures the .zip file associated with your repository. For some reason, your seems to be an empty .zip file, so it cannot install.

tarball does not seem empty. I guess this is just a hiccup on github that should go away over time.

+2
source

All Articles