diff --git a/R/session.R b/R/session.R index 0572c1f..64655ed 100644 --- a/R/session.R +++ b/R/session.R @@ -23,12 +23,12 @@ #' @examples #' s <- session("http://hadley.nz") #' s %>% -#' session_jump_to("hadley-wickham.jpg") %>% +#' session_jump_to("hadley.jpg") %>% #' session_jump_to("/") %>% #' session_history() #' #' s %>% -#' session_jump_to("hadley-wickham.jpg") %>% +#' session_jump_to("hadley.jpg") %>% #' session_back() %>% #' session_history() #' diff --git a/man/session.Rd b/man/session.Rd index 4e0a296..b37d7c2 100644 --- a/man/session.Rd +++ b/man/session.Rd @@ -69,12 +69,12 @@ and \code{\link[httr:status_code]{httr::status_code()}}. \examples{ s <- session("http://hadley.nz") s \%>\% - session_jump_to("hadley-wickham.jpg") \%>\% + session_jump_to("hadley.jpg") \%>\% session_jump_to("/") \%>\% session_history() s \%>\% - session_jump_to("hadley-wickham.jpg") \%>\% + session_jump_to("hadley.jpg") \%>\% session_back() \%>\% session_history() diff --git a/tests/testthat/_snaps/session.md b/tests/testthat/_snaps/session.md index ae4f055..cfab7ca 100644 --- a/tests/testthat/_snaps/session.md +++ b/tests/testthat/_snaps/session.md @@ -7,12 +7,12 @@ https://hadley.nz/ Status: 200 Type: text/html; charset=utf-8 - Size: 821273 + Size: 821905 Code expect_true(is.session(s)) s <- session_follow_link(s, css = "p a") Message - Navigating to . + Navigating to . Code session_history(s) Output