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=BpWnWNihFcT08AfdwYbQDQ
<- content-length: 259
<- date: Sat, 18 Feb 2017 00:27:50 GMT
<- alt-svc: quic=":443"; ma=2592000; v="35,34"
<- 
-> HEAD /?gfe_rd=cr&ei=BpWnWNihFcT08AfdwYbQDQ 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=ZfNL_20iZujj9ILSNTz_hL9bO-q-5NBF8lxI_iqS3r5-_LkWDqae9yW7ss0ROcW8F4QHs14k_z7WrnzmTdZ-qTaZSvE-JZWQyncRstaCIKwPPTU_JswQqHGrIS9IF151
-> Accept: application/json, text/xml, application/xml, */*
-> 
<- HTTP/2 200 
<- date: Sat, 18 Feb 2017 00:27:50 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=BpWnWNihFcT08AfdwYbQDQ]
  Date: 2017-02-18 00:27
  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=BpWnWO-MHMz08Afd75DACw
<- content-length: 259
<- date: Sat, 18 Feb 2017 00:27:50 GMT
<- alt-svc: quic=":443"; ma=2592000; v="35,34"
<- 
-> HEAD /?gfe_rd=cr&ei=BpWnWO-MHMz08Afd75DACw 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=ZfNL_20iZujj9ILSNTz_hL9bO-q-5NBF8lxI_iqS3r5-_LkWDqae9yW7ss0ROcW8F4QHs14k_z7WrnzmTdZ-qTaZSvE-JZWQyncRstaCIKwPPTU_JswQqHGrIS9IF151
-> Accept: application/json, text/xml, application/xml, */*
-> 
<- HTTP/2 200 
<- date: Sat, 18 Feb 2017 00:27:50 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=BpWnWO-MHMz08Afd75DACw]
  Date: 2017-02-18 00:27
  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=BpWnWNW0JdP08Af5-IrABQ
<- content-length: 259
<- date: Sat, 18 Feb 2017 00:27:50 GMT
<- alt-svc: quic=":443"; ma=2592000; v="35,34"
<- 
-> HEAD /?gfe_rd=cr&ei=BpWnWNW0JdP08Af5-IrABQ 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=ZfNL_20iZujj9ILSNTz_hL9bO-q-5NBF8lxI_iqS3r5-_LkWDqae9yW7ss0ROcW8F4QHs14k_z7WrnzmTdZ-qTaZSvE-JZWQyncRstaCIKwPPTU_JswQqHGrIS9IF151
-> Accept: application/json, text/xml, application/xml, */*
-> 
<- HTTP/2 200 
<- date: Sat, 18 Feb 2017 00:27:50 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=BpWnWNW0JdP08Af5-IrABQ]
  Date: 2017-02-18 00:27
  Status: 200
  Content-Type: text/html; charset=ISO-8859-1
<EMPTY BODY>
> # and re-establish the previous settings with
> set_config(old, override = TRUE)
> HEAD("https://www.google.com")
Response [https://www.google.de/?gfe_rd=cr&ei=BpWnWKOKLsL08Ae5ppi4Aw]
  Date: 2017-02-18 00:27
  Status: 200
  Content-Type: text/html; charset=ISO-8859-1
<EMPTY BODY>
> # or
> reset_config()
> HEAD("https://www.google.com")
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