SSL: certificate verification failed (result: 5) installing devtools

755 views
Skip to first unread message

Timothy Bates

unread,
Aug 29, 2014, 8:27:39 AM8/29/14
to rdev...@googlegroups.com
devtools::document("~/bin/umx"); devtools::install("~/bin/umx");
Updating umx documentation
Loading umx
unloadNamespace("umx") not successful. Forcing unload.
Error in importIntoEnv(pkgenv, exports, nsenv, exports) : 
  cannot add bindings to a locked environment

devtools::install_github("hadley/devtools")
Installing github repo hadley/devtools@master from hadley
Error in function (type, msg, asError = TRUE)  : 
  SSL: certificate verification failed (result: 5)

this was with 
packageVersion("devtools")
[1] ‘1.5.0.99’

I updated from CRAN and restarted R
install.packages("devtools")
packageVersion("devtools")
[1] ‘1.5’

but identical error

I am on R version: R version 3.1.1 (2014-07-10) (x86_64-apple-darwin10.8.0)

PS: with error
devtools::install_github("devtools")
Error: Repo name should look like username/repo

you might add "for instance 'hadley/devtools' "

Hadley Wickham

unread,
Aug 29, 2014, 8:30:02 AM8/29/14
to Timothy Bates, rdev...@googlegroups.com
You probably need to update RCurl and httr.
Hadley
> --
> You received this message because you are subscribed to the Google Groups
> "devtools" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rdevtools+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
http://had.co.nz/

Timothy Bates

unread,
Aug 29, 2014, 12:44:00 PM8/29/14
to rdev...@googlegroups.com, timothy...@gmail.com
cheers hadley,
doesn't seem to fix the issue

devtools::install_github("hadley/devtools")
Installing github repo devtools/master from hadley
Error in function (type, msg, asError = TRUE)  : 
  SSL: certificate verification failed (result: 5)

packageVersion(httr)
Error in packageDescription(pkg, lib.loc = lib.loc, fields = "Version") : 
  object 'httr' not found

packageVersion("httr")
[1] ‘0.4’
> packageVersion("RCurl")
[1] ‘1.95.4.3’

Hadley Wickham

unread,
Aug 29, 2014, 1:11:52 PM8/29/14
to Timothy Bates, rdev...@googlegroups.com
Can you please try with the dev version of httr?
devtools::install_github("hadley/httr")
Hadley

On Fri, Aug 29, 2014 at 11:44 AM, Timothy Bates

Timothy Bates

unread,
Aug 29, 2014, 1:16:45 PM8/29/14
to rdev...@googlegroups.com
catch 22 :-)

devtools::install_github("hadley/httr")
Installing github repo httr/master from hadley

Linchang Yang

unread,
Sep 1, 2014, 1:53:37 AM9/1/14
to rdev...@googlegroups.com
Same here
R 3.1.1 on OSX 10.10
I doubt it's because of curl 7.37.1

Tom Young

unread,
Sep 2, 2014, 3:11:28 AM9/2/14
to rdev...@googlegroups.com
So here,
And it seems to be related to Mac OSX 10.10 preview, as discussed here: https://secure.phabricator.com/T5913

Sen Fang

unread,
Sep 7, 2014, 9:04:51 PM9/7/14
to rdev...@googlegroups.com
Thanks for the info. I'm on Yosemite too and have been having the same issue.

I just managed to use install_git as a temporary workaround. So you could try

I believe you need git, which would come with Xcode or you can install standalone.

Best,

Matt Shirley

unread,
Sep 9, 2014, 8:54:12 AM9/9/14
to rdev...@googlegroups.com
install_git works for me on Mac OS 10.10. 

Linchang Yang

unread,
Sep 18, 2014, 1:43:44 AM9/18/14
to rdev...@googlegroups.com
it seems fixed in 10.10 beta 3
Reply all
Reply to author
Forward
0 new messages