Running examples in 'httr-Ex.R' failed
The error most likely occurred in:

> ### Name: config
> ### Title: Set curl options.
> ### Aliases: config
> 
> ### ** Examples
> 
> # There are a number of ways to modify the configuration of a request
> # * you can add directly to a request
> HEAD("https://www.google.com", verbose())
-> HEAD / HTTP/1.1
-> Host: www.google.com
-> User-Agent: libcurl/7.51.0 r-curl/2.3 httr/1.2.1
-> Accept-Encoding: gzip, deflate
-> Accept: application/json, text/xml, application/xml, */*
-> 
<- HTTP/2 302 
<- cache-control: private
<- content-type: text/html; charset=UTF-8
<- location: https://www.google.de/?gfe_rd=cr&ei=rQSqWNKmFsL08Ae5ppi4Aw
<- content-length: 259
<- date: Sun, 19 Feb 2017 20:48:45 GMT
<- alt-svc: quic=":443"; ma=2592000; v="35,34"
<- 
-> HEAD /?gfe_rd=cr&ei=rQSqWNKmFsL08Ae5ppi4Aw HTTP/1.1
-> Host: www.google.de
-> User-Agent: libcurl/7.51.0 r-curl/2.3 httr/1.2.1
-> Accept-Encoding: gzip, deflate
-> Cookie: NID=97=OWpVtlYBZyZ7MgrhYMOsv3EipcWTyradnQiiJ4WinI4_5nSf8asOXKKlqSsqGDx-WuFYQR3CkUPzHQ0q38wNs5LZ1uQp8Z5rm_gK_bueXJ7UhT9K8kjqyTP30AUlTVqK
-> Accept: application/json, text/xml, application/xml, */*
-> 
<- HTTP/2 200 
<- date: Sun, 19 Feb 2017 20:48:45 GMT
<- expires: -1
<- cache-control: private, max-age=0
<- content-type: text/html; charset=ISO-8859-1
<- content-encoding: gzip
<- server: gws
<- x-xss-protection: 1; mode=block
<- x-frame-options: SAMEORIGIN
<- alt-svc: quic=":443"; ma=2592000; v="35,34"
<- 
Response [https://www.google.de/?gfe_rd=cr&ei=rQSqWNKmFsL08Ae5ppi4Aw]
  Date: 2017-02-19 20:48
  Status: 200
  Content-Type: text/html; charset=ISO-8859-1
<EMPTY BODY>
> 
> # * you can wrap with with_config()
> with_config(verbose(), HEAD("https://www.google.com"))
-> HEAD / HTTP/1.1
-> Host: www.google.com
-> User-Agent: libcurl/7.51.0 r-curl/2.3 httr/1.2.1
-> Accept-Encoding: gzip, deflate
-> Accept: application/json, text/xml, application/xml, */*
-> 
<- HTTP/2 302 
<- cache-control: private
<- content-type: text/html; charset=UTF-8
<- location: https://www.google.de/?gfe_rd=cr&ei=rQSqWO-LHc708AeA0IiYAw
<- content-length: 259
<- date: Sun, 19 Feb 2017 20:48:45 GMT
<- alt-svc: quic=":443"; ma=2592000; v="35,34"
<- 
-> HEAD /?gfe_rd=cr&ei=rQSqWO-LHc708AeA0IiYAw HTTP/1.1
-> Host: www.google.de
-> User-Agent: libcurl/7.51.0 r-curl/2.3 httr/1.2.1
-> Accept-Encoding: gzip, deflate
-> Cookie: NID=97=OWpVtlYBZyZ7MgrhYMOsv3EipcWTyradnQiiJ4WinI4_5nSf8asOXKKlqSsqGDx-WuFYQR3CkUPzHQ0q38wNs5LZ1uQp8Z5rm_gK_bueXJ7UhT9K8kjqyTP30AUlTVqK
-> Accept: application/json, text/xml, application/xml, */*
-> 
<- HTTP/2 200 
<- date: Sun, 19 Feb 2017 20:48:45 GMT
<- expires: -1
<- cache-control: private, max-age=0
<- content-type: text/html; charset=ISO-8859-1
<- content-encoding: gzip
<- server: gws
<- x-xss-protection: 1; mode=block
<- x-frame-options: SAMEORIGIN
<- alt-svc: quic=":443"; ma=2592000; v="35,34"
<- 
Response [https://www.google.de/?gfe_rd=cr&ei=rQSqWO-LHc708AeA0IiYAw]
  Date: 2017-02-19 20:48
  Status: 200
  Content-Type: text/html; charset=ISO-8859-1
<EMPTY BODY>
> 
> # * you can set global with set_config()
> old <- set_config(verbose())
> HEAD("https://www.google.com")
-> HEAD / HTTP/1.1
-> Host: www.google.com
-> User-Agent: libcurl/7.51.0 r-curl/2.3 httr/1.2.1
-> Accept-Encoding: gzip, deflate
-> Accept: application/json, text/xml, application/xml, */*
-> 
<- HTTP/2 302 
<- cache-control: private
<- content-type: text/html; charset=UTF-8
<- location: https://www.google.de/?gfe_rd=cr&ei=rQSqWLyTJtT08Ae534zYCQ
<- content-length: 259
<- date: Sun, 19 Feb 2017 20:48:45 GMT
<- alt-svc: quic=":443"; ma=2592000; v="35,34"
<- 
Error in curl::curl_fetch_memory(url, handle = handle) : 
  Couldn't connect to server
Calls: HEAD ... request_fetch -> request_fetch.write_memory -> <Anonymous> -> .Call
Execution halted