Skip to content

Incorrect error message when unzip fails #540

Description

@jeroen

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions