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

> ### Name: curl_fetch_memory
> ### Title: Fetch the contents of a URL
> ### Aliases: curl_fetch_memory curl_fetch_disk curl_fetch_stream
> ###   curl_fetch_multi
> 
> ### ** Examples
> 
> # Load in memory
> res <- curl_fetch_memory("http://httpbin.org/cookies/set?foo=123&bar=ftw")
> res$content
 [1] 7b 0a 20 20 22 63 6f 6f 6b 69 65 73 22 3a 20 7b 0a 20 20 20 20 22 62 61 72
[26] 22 3a 20 22 66 74 77 22 2c 20 0a 20 20 20 20 22 66 6f 6f 22 3a 20 22 31 32
[51] 33 22 0a 20 20 7d 0a 7d 0a
> 
> # Save to disk
> res <- curl_fetch_disk("http://httpbin.org/stream/10", tempfile())
> res$content
[1] "D:\\temp\\RtmpuAgopm\\file87782f7f45e8"
> readLines(res$content)
 [1] "{\"origin\": \"129.217.207.166\", \"id\": 0, \"args\": {}, \"url\": \"http://httpbin.org/stream/10\", \"headers\": {\"Accept\": \"*/*\", \"User-Agent\": \"R (3.5.0 x86_64-w64-mingw32 x86_64 mingw32)\", \"Accept-Encoding\": \"gzip, deflate\", \"Connection\": \"close\", \"Host\": \"httpbin.org\"}}"
 [2] "{\"origin\": \"129.217.207.166\", \"id\": 1, \"args\": {}, \"url\": \"http://httpbin.org/stream/10\", \"headers\": {\"Accept\": \"*/*\", \"User-Agent\": \"R (3.5.0 x86_64-w64-mingw32 x86_64 mingw32)\", \"Accept-Encoding\": \"gzip, deflate\", \"Connection\": \"close\", \"Host\": \"httpbin.org\"}}"
 [3] "{\"origin\": \"129.217.207.166\", \"id\": 2, \"args\": {}, \"url\": \"http://httpbin.org/stream/10\", \"headers\": {\"Accept\": \"*/*\", \"User-Agent\": \"R (3.5.0 x86_64-w64-mingw32 x86_64 mingw32)\", \"Accept-Encoding\": \"gzip, deflate\", \"Connection\": \"close\", \"Host\": \"httpbin.org\"}}"
 [4] "{\"origin\": \"129.217.207.166\", \"id\": 3, \"args\": {}, \"url\": \"http://httpbin.org/stream/10\", \"headers\": {\"Accept\": \"*/*\", \"User-Agent\": \"R (3.5.0 x86_64-w64-mingw32 x86_64 mingw32)\", \"Accept-Encoding\": \"gzip, deflate\", \"Connection\": \"close\", \"Host\": \"httpbin.org\"}}"
 [5] "{\"origin\": \"129.217.207.166\", \"id\": 4, \"args\": {}, \"url\": \"http://httpbin.org/stream/10\", \"headers\": {\"Accept\": \"*/*\", \"User-Agent\": \"R (3.5.0 x86_64-w64-mingw32 x86_64 mingw32)\", \"Accept-Encoding\": \"gzip, deflate\", \"Connection\": \"close\", \"Host\": \"httpbin.org\"}}"
 [6] "{\"origin\": \"129.217.207.166\", \"id\": 5, \"args\": {}, \"url\": \"http://httpbin.org/stream/10\", \"headers\": {\"Accept\": \"*/*\", \"User-Agent\": \"R (3.5.0 x86_64-w64-mingw32 x86_64 mingw32)\", \"Accept-Encoding\": \"gzip, deflate\", \"Connection\": \"close\", \"Host\": \"httpbin.org\"}}"
 [7] "{\"origin\": \"129.217.207.166\", \"id\": 6, \"args\": {}, \"url\": \"http://httpbin.org/stream/10\", \"headers\": {\"Accept\": \"*/*\", \"User-Agent\": \"R (3.5.0 x86_64-w64-mingw32 x86_64 mingw32)\", \"Accept-Encoding\": \"gzip, deflate\", \"Connection\": \"close\", \"Host\": \"httpbin.org\"}}"
 [8] "{\"origin\": \"129.217.207.166\", \"id\": 7, \"args\": {}, \"url\": \"http://httpbin.org/stream/10\", \"headers\": {\"Accept\": \"*/*\", \"User-Agent\": \"R (3.5.0 x86_64-w64-mingw32 x86_64 mingw32)\", \"Accept-Encoding\": \"gzip, deflate\", \"Connection\": \"close\", \"Host\": \"httpbin.org\"}}"
 [9] "{\"origin\": \"129.217.207.166\", \"id\": 8, \"args\": {}, \"url\": \"http://httpbin.org/stream/10\", \"headers\": {\"Accept\": \"*/*\", \"User-Agent\": \"R (3.5.0 x86_64-w64-mingw32 x86_64 mingw32)\", \"Accept-Encoding\": \"gzip, deflate\", \"Connection\": \"close\", \"Host\": \"httpbin.org\"}}"
[10] "{\"origin\": \"129.217.207.166\", \"id\": 9, \"args\": {}, \"url\": \"http://httpbin.org/stream/10\", \"headers\": {\"Accept\": \"*/*\", \"User-Agent\": \"R (3.5.0 x86_64-w64-mingw32 x86_64 mingw32)\", \"Accept-Encoding\": \"gzip, deflate\", \"Connection\": \"close\", \"Host\": \"httpbin.org\"}}"
> 
> # Stream with callback
> res <- curl_fetch_stream("http://www.httpbin.org/drip?duration=5&numbytes=15&code=200", function(x){
+   cat(rawToChar(x))
+ })
Error in open.connection(con, "rbf") : 
  Could not resolve host: www.httpbin.org
Calls: curl_fetch_stream -> open -> open.connection
Execution halted