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

Having error while loading repository #62

Closed
vishakhagaikwad opened this issue May 15, 2020 · 6 comments
Closed

Having error while loading repository #62

vishakhagaikwad opened this issue May 15, 2020 · 6 comments

Comments

@vishakhagaikwad
Copy link

Install COVID19

remotes::install_github("covid19datahub/COVID19")
Downloading GitHub repo covid19datahub/COVID19@master
Error in utils::download.file(url, path, method = method, quiet = quiet, :
cannot open URL 'https://api.github.com/repos/covid19datahub/COVID19/tarball/master'

Install COVID19

remotes::install_github("covid19datahub/COVID19")
Downloading GitHub repo covid19datahub/COVID19@master
covid19datahub-COVID19-31935e9/man/figures/apple-touch-icon.png: truncated gzip input
tar.exe: Error exit delayed from previous errors.
Error: Failed to install 'COVID19' from GitHub:
Does not appear to be an R package (no DESCRIPTION)
In addition: Warning messages:
1: In utils::untar(tarfile, ...) :
‘tar.exe -xf "C:\Users\choti\AppData\Local\Temp\Rtmpg1s3Jr\file2bbc2489976.tar.gz" -C "C:/Users/choti/AppData/Local/Temp/Rtmpg1s3Jr/remotes2bbc5fc55a4b"’ returned error code 1
2: In system(cmd, intern = TRUE) :
running command 'tar.exe -tf "C:\Users\choti\AppData\Local\Temp\Rtmpg1s3Jr\file2bbc2489976.tar.gz"' had status 1

@eguidotti
Copy link
Collaborator

Hello and thank you for reporting.
I cannot replicate the issue and the command seems to work fine on Windows. Are you using Mac or something else? Also, can you provide the R version you are running?
I'd suggest to try the following in the meanwhile:

  • shut down Rstudio and restart
  • make sure you have a working internet connection
  • try again remotes::install_github("covid19datahub/COVID19")
  • if not, try the following:
install.packages("devtools")
devtools::install_github("covid19datahub/COVID19")

@vishakhagaikwad
Copy link
Author

Sir currently I'm using R version 1.2.1335.....
Okay sir I'm following what u r mentioned step

@eguidotti
Copy link
Collaborator

That's the Rstudio version I guess. Your R version should be >= 3.5.0

@vishakhagaikwad
Copy link
Author

Create a new ds_* file, named with the domain of the data source: eg ds_domain_com.
not getting this step

@eguidotti
Copy link
Collaborator

Ok thank you for the feedback, I slightly changed the tutorial. Is it more clear now?
https://github.com/covid19datahub/COVID19/wiki/Add-a-new-data-source
Thanks

@eguidotti
Copy link
Collaborator

Seems like it's no longer related to the package. Closing the issue

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

2 participants