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

> ### Name: GET
> ### Title: GET a url.
> ### Aliases: GET
> 
> ### ** Examples
> 
> GET("http://google.com/")
Response [http://www.google.com/]
  Date: 2018-05-09 05:51
  Status: 200
  Content-Type: text/html; charset=ISO-8859-1
  Size: 10.5 kB
<!doctype html><html itemscope="" itemtype="http://schema.org/WebPage" lang="...
</style><style>body,td,a,p,.h{font-family:arial,sans-serif}body{margin:0;over...
if (!iesg){document.f&&document.f.q.focus();document.gbqf&&document.gbqf.q.fo...
}
})();</script><div id="mngb"> <div id=gbar><nobr><b class=gb1>Search</b> <a c...
> GET("http://google.com/", path = "search")
Response [http://www.google.com/webhp]
  Date: 2018-05-09 05:51
  Status: 200
  Content-Type: text/html; charset=ISO-8859-1
  Size: 10.5 kB
<!doctype html><html itemscope="" itemtype="http://schema.org/WebPage" lang="...
</style><style>body,td,a,p,.h{font-family:arial,sans-serif}body{margin:0;over...
if (!iesg){document.f&&document.f.q.focus();document.gbqf&&document.gbqf.q.fo...
}
})();</script><div id="mngb"> <div id=gbar><nobr><b class=gb1>Search</b> <a c...
> GET("http://google.com/", path = "search", query = list(q = "ham"))
Response [http://www.google.com/search?q=ham]
  Date: 2018-05-09 05:51
  Status: 200
  Content-Type: text/html; charset=ISO-8859-1
  Size: 48.6 kB
<!doctype html><html itemscope="" itemtype="http://schema.org/SearchResultsPa...
without smoking. As a processed meat, the term &quot;<b>ham</b>&quot; include...
of meat and ones that have been mechanically formed. <b>Ham</b> is made aroun...
world, including a number of highly coveted regional specialties, such as&nbs...
and collect Nectar points online today. Buy online today.</span><br></div></d...
back of the thigh or the thighs and buttocks.</span><br></div></div><div clas...
season? Surely it has to be Mark Noble. In one of the most difficult seasons ...
<b>Ham</b> have had in the Premier League, it was Noble who assured the fans ...
they lost their heads that with their help all would be well. He has&nbsp;......
Check out TripAdvisor members&#39; 19762 candid photos and videos.</span><br>...
...
> 
> # See what GET is doing with httpbin.org
> url <- "http://httpbin.org/get"
> GET(url)
Response [http://httpbin.org/get]
  Date: 2018-05-09 05:51
  Status: 503
  Content-Type: text/html; charset=utf-8
  Size: 506 B
<!DOCTYPE html>
	<html>
	  <head>
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta charset="utf-8">
		<title>Application Error</title>
		<style media="screen">
		  html,body,iframe {
			margin: 0;
			padding: 0;
...
> GET(url, add_headers(a = 1, b = 2))
Response [http://httpbin.org/get]
  Date: 2018-05-09 05:51
  Status: 503
  Content-Type: text/html; charset=utf-8
  Size: 506 B
<!DOCTYPE html>
	<html>
	  <head>
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta charset="utf-8">
		<title>Application Error</title>
		<style media="screen">
		  html,body,iframe {
			margin: 0;
			padding: 0;
...
> GET(url, set_cookies(a = 1, b = 2))
Response [http://httpbin.org/get]
  Date: 2018-05-09 05:52
  Status: 503
  Content-Type: text/html; charset=utf-8
  Size: 506 B
<!DOCTYPE html>
	<html>
	  <head>
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta charset="utf-8">
		<title>Application Error</title>
		<style media="screen">
		  html,body,iframe {
			margin: 0;
			padding: 0;
...
> GET(url, add_headers(a = 1, b = 2), set_cookies(a = 1, b = 2))
Error in curl::curl_fetch_memory(url, handle = handle) : 
  Empty reply from server
Calls: GET ... request_fetch -> request_fetch.write_memory -> <Anonymous>
Execution halted