Skip to content

Commit

Permalink
fix photo url for session() (#420)
Browse files Browse the repository at this point in the history
* fix photo url for session()

* update snapshot for test
  • Loading branch information
luisDVA authored Oct 21, 2024
1 parent c9be5b8 commit 205f054
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions R/session.R
Original file line number Diff line number Diff line change
Expand Up @@ -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()
#'
Expand Down
4 changes: 2 additions & 2 deletions man/session.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tests/testthat/_snaps/session.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
<session> 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 <http://rstudio.com>.
Navigating to <https://posit.co>.
Code
session_history(s)
Output
Expand Down

0 comments on commit 205f054

Please sign in to comment.