Nothing
Code
s <- session("http://hadley.nz/")
s
Output
<session> https://hadley.nz/
Status: 200
Type: text/html; charset=utf-8
Size: 821273
Code
expect_true(is.session(s))
s <- session_follow_link(s, css = "p a")
Message
Navigating to <http://rstudio.com>.
Code
session_history(s)
Output
https://hadley.nz/
- https://posit.co/
Code
s <- session("https://rvest.tidyverse.org/logo.png")
read_html(s)
Condition
Error in `read_html()`:
! Page doesn't appear to be html.
`form` must be a single form produced by `html_form()`.
`x` must be produced by `session()`.
Can't go back any further.
Can't go forward any further.
Code
find_href(html, i = 1, css = "a")
Condition
Error:
! Exactly one of `i`, `css`, or `xpath` must be supplied.
x `i` and `css` were supplied together.
Code
find_href(html, i = TRUE)
Condition
Error:
! `i` must be a string or integer.
Code
find_href(html, i = "c")
Condition
Error:
! No links have text "c".
Code
find_href(html, css = "p a")
Condition
Error:
! No links matched `css`/`xpath`
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.