Running ‘testthat.R’ [28s/75s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rvest)
  > 
  > test_check("rvest")
  Starting 2 test processes.
  > test-session.R: stdout:]
  > test-session.R:   
  > test-session.R: stderr:]
  > test-session.R:   
  Saving _problems/test-session-97.R
  [ FAIL 1 | WARN 0 | SKIP 44 | PASS 112 ]
  
  ══ Skipped tests (44) ══════════════════════════════════════════════════════════
  • On CRAN (42): 'test-html.R:13:1', 'test-live.R:2:3', 'test-live.R:9:3',
    'test-live.R:26:3', 'test-live.R:34:3', 'test-live.R:43:3',
    'test-live.R:54:3', 'test-live.R:73:3', 'test-live.R:81:3',
    'test-live.R:92:3', 'test-live.R:101:1', 'test-rename.R:1:1',
    'test-rename.R:16:1', 'test-rename.R:24:1', 'test-selectors.R:63:1',
    'test-form.R:19:1', 'test-form.R:71:1', 'test-form.R:79:1',
    'test-form.R:94:1', 'test-form.R:111:1', 'test-form.R:141:1',
    'test-form.R:167:1', 'test-form.R:203:1', 'test-table.R:1:1',
    'test-table.R:29:1', 'test-table.R:43:1', 'test-table.R:58:1',
    'test-table.R:72:1', 'test-table.R:88:1', 'test-table.R:103:1',
    'test-table.R:118:1', 'test-table.R:167:1', 'test-table.R:178:1',
    'test-table.R:193:1', 'test-table.R:199:1', 'test-table.R:205:1',
    'test-utils.R:6:1', 'test-session.R:1:1', 'test-session.R:21:1',
    'test-session.R:42:1', 'test-session.R:49:1', 'test-session.R:71:1'
  • currently broken (2): 'test-encoding.R:2:3', 'test-encoding.R:14:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-session.R:97:3'): can submit a form ────────────────────────────
  <rlib_error_3_0/rlib_error/error/condition>
  Error in `"rs_init(self, private, super, options, wait, wait_timeout)"`: ! Could not start R session, timed out
  Backtrace:
       ▆
    1. ├─rvest::html_form(html, base_url = app$url()) at test-session.R:97:3
    2. ├─rvest:::html_form.xml_document(html, base_url = app$url())
    3. │ ├─rvest::html_form(xml2::xml_find_all(x, ".//form"), base_url = base_url)
    4. │ └─rvest:::html_form.xml_nodeset(...)
    5. │   └─base::lapply(x, html_form, base_url = base_url)
    6. │     ├─rvest (local) FUN(X[[i]], ...)
    7. │     └─rvest:::html_form.xml_node(X[[i]], ...)
    8. │       └─rvest:::check_string(base_url, allow_null = TRUE)
    9. │         └─rvest:::.rlang_check_is_string(...)
   10. │           └─rlang::is_string(x)
   11. └─app$url()
   12.   └─self$start()
   13.     └─callr::r_session$new(callr_opts, wait = TRUE)
   14.       └─callr (local) initialize(...)
   15.         └─callr:::rs_init(self, private, super, options, wait, wait_timeout)
   16.           └─throw(new_error("Could not start R session, timed out"))
  
  [ FAIL 1 | WARN 0 | SKIP 44 | PASS 112 ]
  Error:
  ! Test failures.
  Execution halted