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

Installation of loadR.java #60

Open
WentingyY opened this issue Nov 5, 2019 · 1 comment
Open

Installation of loadR.java #60

WentingyY opened this issue Nov 5, 2019 · 1 comment

Comments

@WentingyY
Copy link

Hi

I've already installed rjava, and set the JAVA_HOME as "C:\Program Files\Java\jre1.8.0_231\bin". But when I tried to install loadR.java the following errors occured:

Downloading GitHub repo SantanderMetGroup/loadeR.java@master

gzip: stdin: unexpected end of file
/Rtools/bin/tar: Unexpected EOF in archive
/Rtools/bin/tar: Unexpected EOF in archive
/Rtools/bin/tar: Error is not recoverable: exiting now
External tar failed with --force-local, trying without

gzip: stdin: unexpected end of file
/Rtools/bin/tar: Unexpected EOF in archive
/Rtools/bin/tar: Unexpected EOF in archive
/Rtools/bin/tar: Error is not recoverable: exiting now
External tar failed with --force-local, trying without
Error: Failed to install 'loadeR.java' 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\YWT\AppData\Local\Temp\RtmpSqzQbt\file391051bb446.tar.gz" -C "C:/Users/YWT/AppData/Local/Temp/RtmpSqzQbt/remotes39104dfe5d24"’ returned error code 2
2: In system(cmd, intern = TRUE) :
running command 'tar.exe -tf "C:\Users\YWT\AppData\Local\Temp\RtmpSqzQbt\file391051bb446.tar.gz"' had status 2

I am confused about this error. Could you please help chech this?

Thank you!

@jbedia
Copy link
Member

jbedia commented Nov 15, 2019

Hi @WentingyY ,
I am not familiar with the error, but the installation is working fine so far.
Doing a quick search on the internet I've found this:
https://stackoverflow.com/questions/1325888/tar-error-unexpected-eof-in-archive
It seems a problem when attempting the decompression of the tar file containing the sources. Is it possible that it was a momentary problem and it is now working fine? Did you tray again?
best regards

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