Skip to content

Commit

Permalink
Fix broken example by using web archive
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Nov 8, 2019
1 parent 92beb53 commit e919d60
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# rvest (development version)

* Use web archive to fix broken example.

# rvest 0.3.4

* Remove unneeded `read_xml.response()` method (#242).
Expand Down
6 changes: 5 additions & 1 deletion R/selectors.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@
#' @export
#' @examples
#' # CSS selectors ----------------------------------------------
#' ateam <- read_html("http://www.boxofficemojo.com/movies/?id=ateam.htm")
#' url <- paste0(
#' "https://web.archive.org/web/20190202054736/",
#' "https://www.boxofficemojo.com/movies/?id=ateam.htm"
#' )
#' ateam <- read_html(url)
#' html_nodes(ateam, "center")
#' html_nodes(ateam, "center font")
#' html_nodes(ateam, "center font b")
Expand Down
11 changes: 1 addition & 10 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,4 @@

## revdepcheck results

We checked 111 reverse dependencies (105 from CRAN + 6 from BioConductor), comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 1 packages

Issues with CRAN packages are summarised below.

### Failed to check

* petro.One (NA)
This release just fixes an example that was failing on CRAN so I did not run the revdeps.
6 changes: 5 additions & 1 deletion man/html_nodes.Rd

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

0 comments on commit e919d60

Please sign in to comment.