Running ‘testthat.R’ [5s/6s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(reqres)
  > 
  > test_check("reqres")
  Saving _problems/test-request-96.R
  [ FAIL 1 | WARN 1 | SKIP 17 | PASS 456 ]
  
  ══ Skipped tests (17) ══════════════════════════════════════════════════════════
  • On CRAN (17): 'test-problems.R:1:1', 'test-problems.R:24:1',
    'test-problems.R:53:1', 'test-request.R:20:1', 'test-request.R:47:1',
    'test-request.R:70:1', 'test-request.R:284:1',
    'test-request_unclassed.R:45:1', 'test-request_unclassed.R:68:1',
    'test-request_unclassed.R:88:1', 'test-request_unclassed.R:282:1',
    'test-response.R:18:1', 'test-response.R:111:1', 'test-response.R:138:1',
    'test-response.R:429:1', 'test-response.R:643:1',
    'test-session-cookie.R:77:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-request.R:96:3'): body can be parsed ───────────────────────────
  Error in `file("", "w+b")`: cannot open the connection
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(req$parse(xml = parse_xml()), error = TRUE) at test-request.R:96:3
   2.   └─testthat:::expect_snapshot_(...)
   3.     ├─testthat:::with_is_snapshotting(...)
   4.     └─testthat:::verify_exec(quo_get_expr(x), quo_get_env(x), replay)
   5.       └─evaluate::evaluate(source, envir = env, new_device = FALSE, output_handler = handler)
   6.         └─evaluate:::watchout(...)
   7.           └─evaluate:::local_persistent_sink_connection(debug, frame)
   8.             └─base::file("", "w+b")
  
  [ FAIL 1 | WARN 1 | SKIP 17 | PASS 456 ]
  Error:
  ! Test failures.
  Execution halted