chrisvwn / Rnightlights

R package to extract data from satellite nightlights.
GNU General Public License v3.0
47 stars 14 forks source link

Unable to install from github #61

Closed xbsd closed 4 years ago

xbsd commented 4 years ago

Is there an issue with the code at the moment ...

> devtools::install_github("chrisvwn/Rnightlights")
Downloading GitHub repo chrisvwn/Rnightlights@master
tar: This does not look like a tar archive
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
tar: This does not look like a tar archive

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Error in getrootdir(untar(src, list = TRUE)) :
  length(file_list) > 0 is not TRUE
In addition: Warning messages:
1: In utils::untar(tarfile, ...) :
  ‘tar -xf '/tmp/Rtmp0ov0rJ/file117305a4bd3ec.tar.gz' -C '/tmp/Rtmp0ov0rJ/remotes117307c7bd885'’ returned error code 2
2: In system(cmd, intern = TRUE) :
  running command 'tar -tf '/tmp/Rtmp0ov0rJ/file117305a4bd3ec.tar.gz'' had status 2
chrisvwn commented 4 years ago

Hi @xbsd ,

No problem with the code. The error looks like a download issue, probably an incomplete download:

gzip: stdin: unexpected end of file

Try again.

xbsd commented 4 years ago

Hi @chrisvwn ,

Yes, thanks, figured it out. The download was getting terminated!

Thanks for getting back !