Skip to content
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

Error in utils:download.file when installing SingleR #18

Open
hfberg opened this issue Jan 25, 2019 · 3 comments
Open

Error in utils:download.file when installing SingleR #18

hfberg opened this issue Jan 25, 2019 · 3 comments

Comments

@hfberg
Copy link

hfberg commented Jan 25, 2019

I have tried to install Single R in all the following ways in different combinations:

devtools::install_github('dviraran/SingleR')

devtools::install_github("dviraran/SingleR")

library(curl)
library(devtools)
install_github('dviraran/SingleR')

I have also re-installed curl, re-installed devtools with dependencies, restarted R (3.4.4) updated everything, installed libcurl4-gnutls-dev instead of libcurl4-openssl-dev (they always replace each other) but after a loooooong wait I always get the following error:

Downloading GitHub repo dviraran/SingleR@master
Error in utils::download.file(url, path, method = download_method(), quiet = quiet,  : 
  download from 'https://api.github.com/repos/dviraran/SingleR/tarball/master' failed

And at one point I got an error in curl (sorry, i did not save the full curl error message!)

Error in curl::curl_fetch_memory(url, handle = h) : 
  Timeout was reached: 

I also tried with and without proxy. Same problem.

This might be unrelated to Single R, but in fact i used devtools:install_github earlier today and it worked. I already have a working version of Seurat installed, could this cause issues? If possible, can I install Single R without Seurat? OR is there any other way to install Single R?

@dviraran
Copy link
Owner

Thanks for the input. Because of the reference datasets, the package is pretty big and takes a while to download.

I am having issues with downloading from Github as well now. I am guessing that they are experiencing some issues with their servers.

Anyhow, you can try downloading SingleR is a zip file and install it directly using install.package. Please let me know if the problem still persists.

Best,
Dvir

@hfberg
Copy link
Author

hfberg commented Jan 28, 2019

This issue was something with the github server as you said, this monday it was installed as it should. Thank you for you help!

@simon2073
Copy link

Thanks for the input. Because of the reference datasets, the package is pretty big and takes a while to download.

I am having issues with downloading from Github as well now. I am guessing that they are experiencing some issues with their servers.

Anyhow, you can try downloading SingleR is a zip file and install it directly using install.package. Please let me know if the problem still persists.

Best,
Dvir

dear dvir
I came across the same same problem and I have try downloading SingleR zip file,but I can't install it directly using install.package.
Library(singR) shows can't find this package.And singleR-master was in Library file . Quite confused.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants