-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install_github() unexpectedly fails with no clear error message #734
Comments
Can you download that file? download.file("https://api.github.com/repos/DanChaltiel/EDCimport/tarball/HEAD", tempfile()) |
Yes, I can download it but there indeed seems to be a problem here. This may be a problem on the GitHub side, but my google search yielded no good results about it. |
Try setting the |
This looks similar to the problem I have with remotes specified in the DESCRIPTION of my pfm package: https://app.travis-ci.com/github/jranke/pfm/builds/257655186 Somehow On my local Debian system, running |
I had downloading issue recently with
I came across a stack overflow thread and changing the timeout to a larger number, |
Cross-posting #706 (comment) here in case it helps. |
I am closing this now, but please reopen with more information if you still have this issue. |
Sorry, I forgot this issue was open. This was actually a very weird firewall/proxy problem. In fact, my package repository contains some password-protected archives that are needed for some tests. My office firewall does not allow these files for security reasons. What I didn't know was possible, is that the tarball would download fine until the password-protected archives were detected, which caused the download to stop unexpectedly, leaving the file incomplete. As the archives are only used for tests, adding an This issue is probably not worth fixing from inside |
Hi,
I'm trying to install my package from GitHub.
The package is up to date on GitHub and installs with no problem from RStudio and using
install.packages("myfile.tar.gz", repos = NULL, type="source")
.For a (hopefully) reproducible example, you can try
remotes::install_github("DanChaltiel/EDCimport")
, and you can verify it by cloning https://github.com/DanChaltiel/EDCimport and installing it from RStudio.I'm using Windows 10 and the default
options("download.file.method"")
was"wininet"
but I tried them all:Also, while they point to the exact same function, I get different results with
devtools::install_github()
:Created on 2022-11-07 with reprex v2.0.2
Note that I can install other packages from GitHub with no problem.
The text was updated successfully, but these errors were encountered: