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

> ### Name: html
> ### Title: Parse an HTML page.
> ### Aliases: html read_xml.response read_xml.session
> ### Keywords: deprecated
> 
> ### ** Examples
> 
> # From a url:
> google <- read_html("http://google.com", encoding = "ISO-8859-1")
> google %>% xml_structure()
<html [itemscope, itemtype, lang]>
  <head>
    <meta [content, http-equiv]>
    <meta [content, itemprop]>
    <title>
      {text}
    <script>
      {cdata}
    <style>
      {cdata}
    <style>
      {cdata}
    <script>
    <link [href, rel]>
  <body [bgcolor]>
    <script>
      {cdata}
    <div [id]>
      {text}
      <div [id]>
        <nobr>
          <b [class]>
            {text}
          {text}
          <a [class, href]>
            {text}
          {text}
          <a [class, href]>
            {text}
          {text}
          <a [class, href]>
            {text}
          {text}
          <a [class, href]>
            {text}
          {text}
          <a [class, href]>
            {text}
          {text}
          <a [class, href]>
            {text}
          {text}
          <a [class, href]>
            {text}
          {text}
          <a [class, style, href]>
            <u>
              {text}
            {text}
      <div [id, width]>
        <nobr>
          <span [id, class]>
          <span [id, class]>
          <span [id]>
          <a [href, class]>
            {text}
          {text}
          <a [href, class]>
            {text}
          {text}
          <a [target, id, href, class]>
            {text}
      <div [class, style]>
      <div [class, style]>
      {text}
    <center>
      <br [clear, id]>
      <div [id]>
        <div [style]>
          <div [style, title, align, id, onload]>
            <div [style, nowrap]>
              {text}
        <br>
      <form [action, name]>
        <table [cellpadding, cellspacing]>
          <tr [valign]>
            <td [width]>
              {text}
            <td [align, nowrap]>
              <input [name, value, type]>
              <input [value, name, type]>
              <input [name, type, value]>
              <input [name, type]>
              <input [name, type]>
              <div [class, style]>
                <input [style, autocomplete, class, value, title, maxlength, name, size]>
              <br [style]>
              <span [class]>
                <span [class]>
                  <input [class, value, name, type]>
              <span [class]>
                <span [class]>
                  <input [class, value, name, onclick, type]>
            <td [class, align, nowrap, width]>
              <a [href]>
                {text}
              <a [href]>
                {text}
        <input [id, name, type, value]>
      <div [id]>
      <div [style]>
        <br>
      <span [id]>
        <div [style]>
          <div [style, id]>
            <a [href]>
              {text}
            <a [href]>
              {text}
            <a [href, rel]>
              {text}
            <a [href]>
              {text}
            <a [href, id]>
              {text}
        <p [style]>
          {text}
          <a [href]>
            {text}
          {text}
          <a [href]>
            {text}
    <script>
      {cdata}
    <div [id]>
    <div [id]>
      <script>
        {cdata}
> google %>% html_nodes("div")
{xml_nodeset (16)}
 [1] <div id="mngb"> <div id="gbar"><nobr><b class="gb1">Suche</b> <a class=" ...
 [2] <div id="gbar"><nobr><b class="gb1">Suche</b> <a class="gb1" href="http: ...
 [3] <div id="guser" width="100%"><nobr><span id="gbn" class="gbi"></span><sp ...
 [4] <div class="gbh" style="left:0"></div>\n
 [5] <div class="gbh" style="right:0"></div>
 [6] <div id="lga">\n<div style="padding:28px 0 3px"><div style="height:110px ...
 [7] <div style="padding:28px 0 3px"><div style="height:110px;width:276px;bac ...
 [8] <div style="height:110px;width:276px;background:url(/images/branding/goo ...
 [9] <div style="color:#777;font-size:16px;font-weight:bold;position:relative ...
[10] <div class="ds" style="height:32px;margin:4px 0"><input style="color:#00 ...
[11] <div id="gac_scont"></div>\n
[12] <div style="font-size:83%;min-height:3.5em"><br></div>\n
[13] <div style="font-size:10pt"><div style="margin:19px auto;text-align:cent ...
[14] <div style="margin:19px auto;text-align:center" id="fll">\n<a href="/int ...
[15] <div id="xjsd"></div>\n
[16] <div id="xjsi"><script>(function(){function c(b){window.setTimeout(funct ...
> 
> # From a string: (minimal html 5 document)
> # http://www.brucelawson.co.uk/2010/a-minimal-html5-document/
> minimal <- read_html("<!doctype html>
+   <meta charset=utf-8>
+  <title>blah</title>
+  <p>I'm the content")
> minimal
{xml_document}
<html>
[1] <head>\n<meta http-equiv="Content-Type" content="text/html; charset=UTF-8 ...
[2] <body><p>I'm the content</p></body>
> minimal %>% xml_structure()
<html>
  <head>
    <meta [http-equiv, content]>
    <meta [charset]>
    <title>
      {text}
  <body>
    <p>
      {text}
> 
> # From an httr request
> google2 <- read_html(httr::GET("http://google.com"))
Error in curl::curl_fetch_memory(url, handle = handle) : 
  Couldn't connect to server
Calls: read_html ... request_fetch -> request_fetch.write_memory -> <Anonymous> -> .Call
Execution halted