Running 'testthat.R' [5s/183s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(ralger)
  > 
  > test_check("ralger")
  == Failed tests ================================================================
  -- Error (test-scrap.R:4:1): scrap() function ----------------------------------
  Error: Timeout was reached: [www.imdb.com] Connection timed out after 10000 milliseconds
  Backtrace:
       x
    1. +-testthat::expect_equal(...) test-scrap.R:4:0
    2. | \-testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. +-base::unlist(...)
    5. +-base::lapply(...)
    6. | \-ralger:::FUN(X[[i]], ...)
    7. |   \-url %>% read_html() %>% html_nodes(".titleColumn a") %>% html_text() test-scrap.R:13:8
    8. +-rvest::html_text(.)
    9. | \-xml2::xml_text(x, trim = trim)
   10. +-rvest::html_nodes(., ".titleColumn a")
   11. +-xml2::read_html(.)
   12. \-xml2:::read_html.default(.)
   13.   +-base::suppressWarnings(...)
   14.   | \-base::withCallingHandlers(...)
   15.   +-xml2::read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
   16.   \-xml2:::read_xml.character(...)
   17.     \-xml2:::read_xml.connection(...)
   18.       +-base::open(x, "rb")
   19.       \-base::open.connection(x, "rb")
  -- Failure (test-tidy_scrap.R:3:3): tidy_scrap() function ----------------------
  tidy_scrap(...) not equal to `%>%`(...).
  target is NULL, current is tbl_df
  -- Error (test-weblink_scrap.R:4:1): weblink_scrap() function ------------------
  Error: Timeout was reached: [www.worldbank.org] Operation timed out after 10001 milliseconds with 0 out of 0 bytes received
  Backtrace:
       x
    1. +-testthat::expect_equal(...) test-weblink_scrap.R:4:0
    2. | \-testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. +-`%>%`(...)
    5. +-rvest::html_attr(., "href")
    6. | \-xml2::xml_attr(x, name, default = default)
    7. +-rvest::html_nodes(., "a")
    8. +-xml2::read_html(.)
    9. \-xml2:::read_html.default(.)
   10.   +-base::suppressWarnings(...)
   11.   | \-base::withCallingHandlers(...)
   12.   +-xml2::read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
   13.   \-xml2:::read_xml.character(...)
   14.     \-xml2:::read_xml.connection(...)
   15.       +-base::open(x, "rb")
   16.       \-base::open.connection(x, "rb")
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 9 ]
  Error: Test failures
  In addition: Warning messages:
  1: In for (i in seq_along(specs)) { :
    closing unused connection 6 (https://www.imdb.com/chart/top/)
  2: In for (i in seq_along(specs)) { :
    closing unused connection 5 (https://www.imdb.com/chart/top/)
  3: In for (i in seq_along(specs)) { :
    closing unused connection 4 (https://www.imdb.com/chart/top/)
  4: In for (elt in name) { :
    closing unused connection 4 (https://www.worldbank.org/en/research)
  Execution halted