Running 'spelling.R' [0s/0s]
  Running 'testthat.R' [5s/16s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(whatr)
  > 
  > test_check("whatr")
  -- 1. Error: answers return from HTML (@test-answers.R#6)  ---------------------
  'NA' does not exist in current working directory ('/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/whatr.Rcheck/tests/testthat').
  Backtrace:
    1. whatr::whatr_html(id)
    9. whatr::whatr_answers(.)
    3. rvest::html_node(., ".final_round tr td div")
    3. rvest::html_attr(., "onmouseover")
    3. stringr::str_remove_all(., fixed("\\"))
   10. xml2::read_html(.)
   22. xml2:::read_xml.character(...)
   23. xml2:::path_to_connection(x)
   24. xml2:::check_path(path)
  
  -- 2. Error: answers return from game ID (@test-answers.R#12)  -----------------
  'NA' does not exist in current working directory ('/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/whatr.Rcheck/tests/testthat').
  Backtrace:
    1. whatr::whatr_answers(game = id)
    2. rvest::html_node(., ".final_round tr td div")
    2. rvest::html_attr(., "onmouseover")
    2. stringr::str_remove_all(., fixed("\\"))
    9. xml2::read_html(.)
   14. xml2:::read_xml.character(...)
   15. xml2:::path_to_connection(x)
   16. xml2:::check_path(path)
  
  -- 3. Error: full board returns from HTML (@test-board.R#6)  -------------------
  Problem with `mutate()` input `round`.
  x Input `round` can't be recycled to size 0.
  i Input `round` is `c(rep(1L, 6), rep(2L, 6), 3L)`.
  i Input `round` must be size 0 or 1, not 13.
  Backtrace:
    1. whatr::whatr_html(id)
    9. whatr::whatr_board(.)
   10. whatr::whatr_categories(game)
    4. rvest::html_nodes(., "table td.category_name")
    4. rvest::html_text(., trim = TRUE)
    4. whatr:::entity_clean(.)
    4. tibble::enframe(., name = NULL, value = "category")
   11. dplyr::mutate(...)
   20. dplyr:::mutate_cols(.data, ...)
   21. base::tryCatch(...)
   22. base:::tryCatchList(expr, classes, parentenv, handlers)
   23. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   24. value[[3L]](cond)
   25. dplyr:::stop_mutate_recycle_incompatible_size(e, index = i, dots = dots)
   26. dplyr:::stop_dplyr(...)
  
  -- 4. Error: full board returns from game ID (@test-board.R#12)  ---------------
  Problem with `mutate()` input `round`.
  x Input `round` can't be recycled to size 0.
  i Input `round` is `c(rep(1L, 6), rep(2L, 6), 3L)`.
  i Input `round` must be size 0 or 1, not 13.
  Backtrace:
    1. whatr::whatr_board(game = id)
    2. whatr::whatr_categories(game)
    3. rvest::html_nodes(., "table td.category_name")
    3. rvest::html_text(., trim = TRUE)
    3. whatr:::entity_clean(.)
    3. tibble::enframe(., name = NULL, value = "category")
   10. dplyr::mutate(...)
   12. dplyr:::mutate_cols(.data, ...)
   13. base::tryCatch(...)
   14. base:::tryCatchList(expr, classes, parentenv, handlers)
   15. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   16. value[[3L]](cond)
   17. dplyr:::stop_mutate_recycle_incompatible_size(e, index = i, dots = dots)
   18. dplyr:::stop_dplyr(...)
  
  -- 5. Error: categories return from HTML (@test-categories.R#6)  ---------------
  Problem with `mutate()` input `round`.
  x Input `round` can't be recycled to size 0.
  i Input `round` is `c(rep(1L, 6), rep(2L, 6), 3L)`.
  i Input `round` must be size 0 or 1, not 13.
  Backtrace:
    1. whatr::whatr_html(id)
    9. whatr::whatr_categories(.)
    3. rvest::html_nodes(., "table td.category_name")
    3. rvest::html_text(., trim = TRUE)
    3. whatr:::entity_clean(.)
    3. tibble::enframe(., name = NULL, value = "category")
   10. dplyr::mutate(...)
   19. dplyr:::mutate_cols(.data, ...)
   20. base::tryCatch(...)
   21. base:::tryCatchList(expr, classes, parentenv, handlers)
   22. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   23. value[[3L]](cond)
   24. dplyr:::stop_mutate_recycle_incompatible_size(e, index = i, dots = dots)
   25. dplyr:::stop_dplyr(...)
  
  -- 6. Error: categories return from game ID (@test-categories.R#12)  -----------
  Problem with `mutate()` input `round`.
  x Input `round` can't be recycled to size 0.
  i Input `round` is `c(rep(1L, 6), rep(2L, 6), 3L)`.
  i Input `round` must be size 0 or 1, not 13.
  Backtrace:
    1. whatr::whatr_categories(game = id)
    2. rvest::html_nodes(., "table td.category_name")
    2. rvest::html_text(., trim = TRUE)
    2. whatr:::entity_clean(.)
    2. tibble::enframe(., name = NULL, value = "category")
    9. dplyr::mutate(...)
   11. dplyr:::mutate_cols(.data, ...)
   12. base::tryCatch(...)
   13. base:::tryCatchList(expr, classes, parentenv, handlers)
   14. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   15. value[[3L]](cond)
   16. dplyr:::stop_mutate_recycle_incompatible_size(e, index = i, dots = dots)
   17. dplyr:::stop_dplyr(...)
  
  -- 7. Error: clues return from HTML (@test-clues.R#6)  -------------------------
  Problem with `mutate()` input `round`.
  x no applicable method for 'recode' applied to an object of class "logical"
  i Input `round` is `as.integer(.data$round %>% dplyr::recode(J = "1", DJ = "2", FJ = "3"))`.
  Backtrace:
    1. whatr::whatr_html(id)
    9. whatr::whatr_clues(.)
    3. rvest::html_nodes(., "table td.clue_text")
    3. rvest::html_text(.)
    3. whatr:::entity_clean(.)
    3. tibble::enframe(., name = NULL, value = "clue")
   10. dplyr::bind_cols(., whatr_order(game = game))
    8. rvest::html_nodes(., "table tr td div")
    8. rvest::html_attr(., "onmouseover")
    8. stringr::str_extract(., "(?<=clue_)(.*)(?=_stuck)")
    8. tibble::enframe(., name = NULL)
    8. tidyr::separate(...)
    8. dplyr::select(., .data$one)
    8. tidyr::separate(...)
   16. dplyr::mutate(...)
   30. dplyr:::mutate_cols(.data, ...)
  
  -- 8. Error: clues return from game ID (@test-clues.R#12)  ---------------------
  Problem with `mutate()` input `round`.
  x no applicable method for 'recode' applied to an object of class "logical"
  i Input `round` is `as.integer(.data$round %>% dplyr::recode(J = "1", DJ = "2", FJ = "3"))`.
  Backtrace:
    1. whatr::whatr_clues(game = id)
    2. rvest::html_nodes(., "table td.clue_text")
    2. rvest::html_text(.)
    2. whatr:::entity_clean(.)
    2. tibble::enframe(., name = NULL, value = "clue")
    9. dplyr::bind_cols(., whatr_order(game = game))
    7. rvest::html_nodes(., "table tr td div")
    7. rvest::html_attr(., "onmouseover")
    7. stringr::str_extract(., "(?<=clue_)(.*)(?=_stuck)")
    7. tibble::enframe(., name = NULL)
    7. tidyr::separate(...)
    7. dplyr::select(., .data$one)
    7. tidyr::separate(...)
   15. dplyr::mutate(...)
   22. dplyr:::mutate_cols(.data, ...)
  
  -- 9. Failure: game ID can be converted to showscores HTML (@test-convert.R#20) 
  is(object, "xml_document") & grepl("ddred", object) isn't true.
  
  -- 10. Failure: showgame HTML can be converted to showscores HTML (@test-convert
  is(object, "xml_document") & grepl("ddred", object) isn't true.
  
  -- 11. Failure: showscores HTML can be converted to showscores HTML (@test-conve
  is(object, "xml_document") & grepl("ddred", object) isn't true.
  
  -- 12. Failure: show num can be converted to showscores HTML (@test-convert.R#53
  is(object, "xml_document") & grepl("ddred", object) isn't true.
  
  -- 13. Failure: air date can be converted to showscores HTML (@test-convert.R#64
  is(object, "xml_document") & grepl("ddred", object) isn't true.
  
  -- 14. Error: categories return from game ID (@test-data.R#6)  -----------------
  no applicable method for 'html_table' applied to an object of class "xml_missing"
  Backtrace:
    1. whatr::whatr_data(game = id)
    2. whatr::whatr_synopsis(showgame)
    3. rvest::html_node(., "#final_jeopardy_round > table:nth-child(8)")
   10. rvest::html_table(., header = TRUE, fill = TRUE)
  
  -- 15. Error: order returns from HTML (@test-doubles.R#6)  ---------------------
  Problem with `mutate()` input `round`.
  x no applicable method for 'recode' applied to an object of class "logical"
  i Input `round` is `as.integer(.data$round %>% dplyr::recode(J = "1", DJ = "2", FJ = "3"))`.
  Backtrace:
    1. whatr::whatr_html(id)
    9. whatr::whatr_doubles(.)
   10. whatr:::whatr_order(showgame)
    4. rvest::html_nodes(., "table tr td div")
    4. rvest::html_attr(., "onmouseover")
    4. stringr::str_extract(., "(?<=clue_)(.*)(?=_stuck)")
    4. tibble::enframe(., name = NULL)
    4. tidyr::separate(...)
    4. dplyr::select(., .data$one)
    4. tidyr::separate(...)
   12. dplyr::mutate(...)
   21. dplyr:::mutate_cols(.data, ...)
  
  -- 16. Error: order returns from game ID (@test-doubles.R#13)  -----------------
  Problem with `mutate()` input `round`.
  x no applicable method for 'recode' applied to an object of class "logical"
  i Input `round` is `as.integer(.data$round %>% dplyr::recode(J = "1", DJ = "2", FJ = "3"))`.
  Backtrace:
    1. whatr::whatr_doubles(game = id)
    2. whatr:::whatr_order(showgame)
    3. rvest::html_nodes(., "table tr td div")
    3. rvest::html_attr(., "onmouseover")
    3. stringr::str_extract(., "(?<=clue_)(.*)(?=_stuck)")
    3. tibble::enframe(., name = NULL)
    3. tidyr::separate(...)
    3. dplyr::select(., .data$one)
    3. tidyr::separate(...)
   11. dplyr::mutate(...)
   13. dplyr:::mutate_cols(.data, ...)
  
  -- 17. Error: order returns from HTML (@test-order.R#6)  -----------------------
  Problem with `mutate()` input `round`.
  x no applicable method for 'recode' applied to an object of class "logical"
  i Input `round` is `as.integer(.data$round %>% dplyr::recode(J = "1", DJ = "2", FJ = "3"))`.
  Backtrace:
    1. whatr::whatr_html(id)
    9. whatr:::whatr_order(.)
    3. rvest::html_nodes(., "table tr td div")
    3. rvest::html_attr(., "onmouseover")
    3. stringr::str_extract(., "(?<=clue_)(.*)(?=_stuck)")
    3. tibble::enframe(., name = NULL)
    3. tidyr::separate(...)
    3. dplyr::select(., .data$one)
    3. tidyr::separate(...)
   11. dplyr::mutate(...)
   20. dplyr:::mutate_cols(.data, ...)
  
  -- 18. Error: order returns from game ID (@test-order.R#12)  -------------------
  Problem with `mutate()` input `round`.
  x no applicable method for 'recode' applied to an object of class "logical"
  i Input `round` is `as.integer(.data$round %>% dplyr::recode(J = "1", DJ = "2", FJ = "3"))`.
  Backtrace:
    1. whatr:::whatr_order(game = id)
    2. rvest::html_nodes(., "table tr td div")
    2. rvest::html_attr(., "onmouseover")
    2. stringr::str_extract(., "(?<=clue_)(.*)(?=_stuck)")
    2. tibble::enframe(., name = NULL)
    2. tidyr::separate(...)
    2. dplyr::select(., .data$one)
    2. tidyr::separate(...)
   10. dplyr::mutate(...)
   12. dplyr:::mutate_cols(.data, ...)
  
  -- 19. Error: players return from HTML (@test-players.R#6)  --------------------
  no applicable method for 'html_table' applied to an object of class "xml_missing"
  Backtrace:
    1. whatr::whatr_html(id)
    9. whatr::whatr_players(.)
    3. rvest::html_node(., "#contestants_table")
   10. rvest::html_table(., fill = TRUE)
  
  -- 20. Error: players return from game ID (@test-players.R#13)  ----------------
  no applicable method for 'html_table' applied to an object of class "xml_missing"
  Backtrace:
   1. whatr::whatr_players(game = id)
   2. rvest::html_node(., "#contestants_table")
   9. rvest::html_table(., fill = TRUE)
  
  -- 21. Error: answers return from HTML (@test-plot.R#6)  -----------------------
  no applicable method for 'html_table' applied to an object of class "xml_missing"
  Backtrace:
    1. whatr::whatr_html(id)
    9. whatr::whatr_plot(.)
   13. whatr::whatr_scores(game)
    4. rvest::html_node(., "#jeopardy_round > table:nth-child(2)")
   11. rvest::html_table(., fill = TRUE, header = TRUE)
  
  -- 22. Error: answers return from game ID (@test-plot.R#11)  -------------------
  no applicable method for 'html_table' applied to an object of class "xml_missing"
  Backtrace:
    1. whatr::whatr_plot(id)
    5. whatr::whatr_scores(game)
    3. rvest::html_node(., "#jeopardy_round > table:nth-child(2)")
   10. rvest::html_table(., fill = TRUE, header = TRUE)
  
  -- 23. Error: scores returns from HTML (@test-scores.R#6)  ---------------------
  no applicable method for 'html_table' applied to an object of class "xml_missing"
  Backtrace:
    1. whatr::whatr_html(6304, "showscores")
    9. whatr::whatr_scores(.)
    3. rvest::html_node(., "#jeopardy_round > table:nth-child(2)")
   10. rvest::html_table(., fill = TRUE, header = TRUE)
  
  -- 24. Error: scores returns from game ID (@test-scores.R#14)  -----------------
  no applicable method for 'html_table' applied to an object of class "xml_missing"
  Backtrace:
   1. whatr::whatr_scores(game = 6304)
   2. rvest::html_node(., "#jeopardy_round > table:nth-child(2)")
   9. rvest::html_table(., fill = TRUE, header = TRUE)
  
  -- 25. Error: summary returns from HTML (@test-synopsis.R#6)  ------------------
  no applicable method for 'html_table' applied to an object of class "xml_missing"
  Backtrace:
    1. whatr::whatr_html(id)
    9. whatr::whatr_synopsis(.)
    3. rvest::html_node(., "#final_jeopardy_round > table:nth-child(8)")
   10. rvest::html_table(., header = TRUE, fill = TRUE)
  
  -- 26. Error: summary returns from game ID (@test-synopsis.R#12)  --------------
  no applicable method for 'html_table' applied to an object of class "xml_missing"
  Backtrace:
   1. whatr::whatr_synopsis(game = id)
   2. rvest::html_node(., "#final_jeopardy_round > table:nth-child(8)")
   9. rvest::html_table(., header = TRUE, fill = TRUE)
  
  == testthat results  ===========================================================
  [ OK: 12 | SKIPPED: 0 | WARNINGS: 6 | FAILED: 26 ]
  1. Error: answers return from HTML (@test-answers.R#6) 
  2. Error: answers return from game ID (@test-answers.R#12) 
  3. Error: full board returns from HTML (@test-board.R#6) 
  4. Error: full board returns from game ID (@test-board.R#12) 
  5. Error: categories return from HTML (@test-categories.R#6) 
  6. Error: categories return from game ID (@test-categories.R#12) 
  7. Error: clues return from HTML (@test-clues.R#6) 
  8. Error: clues return from game ID (@test-clues.R#12) 
  9. Failure: game ID can be converted to showscores HTML (@test-convert.R#20) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted