Skip to content

install_github fails when using devtools 1.12.0 on R 3.1 #1244

Description

@leonidb

According to 1.12.0 description, R >= 3.0.2 is supported, however, when using devtools with R 3.1

devtools::install_github("...")

We get the following error:

    Downloading GitHub repo ...
    from URL ...
    Installing ...
    Error in if (capabilities("libcurl")) { : argument is of length zero
    Calls: <Anonymous> ... download_method_secure -> download_method -> auto_download_method

The check if (capabilities("libcurl")) was added in eed0746, which is part of 1.12.0 release.

When I execute capabilities(), libcurl indeed doesn't appear on the list, although
libcurl library is installed on the machine.

With devtools 1.11.1 the same command works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behaviorinstall

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions