-
Notifications
You must be signed in to change notification settings - Fork 761
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
install_github fails when using devtools 1.12.0 on R 3.1 #1244
Comments
I can confirm this issue for R 3.1.
Apparently this arises in older versions of R. In R 3.3
states
The entry for libcurl is missing in older versions of R. Furthermore, in https://cran.r-project.org/doc/manuals/r-release/NEWS.html it was announced
Hence, in file download-method.R one needs to check if the entry for "libcurl" exists at all, e.g. any(names(capabilities()) == "libcurl") |
These lines solved this problem at my case:
(ubuntu 14.04) |
The workaround I used is: |
oldrel - 3.2.5 release - 3.3.0 devel - development version Not easy to test older versions because of devtools difficulties. https://docs.travis-ci.com/user/languages/r r-lib/devtools#1244
We'll be adding automated tests to ensure the devtools works with R 3.1.0 very shortly. We'll see if it's possible to push back to R 3.0.3. |
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/ |
According to 1.12.0 description, R >= 3.0.2 is supported, however, when using devtools with R 3.1
We get the following error:
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, althoughlibcurl
library is installed on the machine.With devtools 1.11.1 the same command works.
The text was updated successfully, but these errors were encountered: