covid19datahub / COVID19

A worldwide epidemiological database for COVID-19 at fine-grained spatial resolution
https://covid19datahub.io
GNU General Public License v3.0
252 stars 92 forks source link

Having error while loading repository #62

Closed vishakhagaikwad closed 4 years ago

vishakhagaikwad commented 4 years ago

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 commented 4 years ago

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:

install.packages("devtools")
devtools::install_github("covid19datahub/COVID19")
vishakhagaikwad commented 4 years ago

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

eguidotti commented 4 years ago

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

vishakhagaikwad commented 4 years ago

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

eguidotti commented 4 years ago

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 commented 4 years ago

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