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

Incorrect error message when unzip fails #540

Closed
jeroen opened this issue Aug 8, 2014 · 1 comment
Closed

Incorrect error message when unzip fails #540

jeroen opened this issue Aug 8, 2014 · 1 comment

Comments

@jeroen
Copy link
Member

@jeroen jeroen commented Aug 8, 2014

On a Fedora box I was getting:

> devtools::install_github("plyr")
Installing github repo plyr/master from hadley
Downloading master.zip from https://github.com/hadley/plyr/archive/master.zip
Installing package from /tmp/RtmpLKWL1L/master.zip
arguments 'minimized' and 'invisible' are for Windows only
Error: Does not appear to be an R package (no DESCRIPTION)

The problem turned out to be:

> getOption("unzip")
[1] "/usr/bin/unzip"
> file.exists(getOption("unzip"))
[1] FALSE

Would be nice if devtools had a way to check for successful decompress.

@hadley hadley closed this in 1b1732c Aug 13, 2014
@hadley
Copy link
Member

@hadley hadley commented Aug 13, 2014

I'm pretty sure that should do the trick - let me know if you still have problems.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants