Running ‘testthat.R’ [17s/24s]
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(vcr)
  > 
  > test_check("vcr")
  Starting 2 test processes.
  > test-request_matcher.R: [Cassette: test] Inserting 'test.yml' (new cassette)
  > test-request_matcher.R: [Cassette: test]   Mode: recording
  > test-request_matcher.R: [Cassette: test] Handling request: POST http://127.0.0.1:64177/post
  > test-request_matcher.R: [Cassette: test]   Recording response: 200 with 454 bytes of application/json data
  > test-request_matcher.R: [Cassette: test] Ejecting
  > test-request_matcher.R: [Cassette: test] Inserting 'test.yml' (new cassette)
  > test-request_matcher.R: [Cassette: test]   Mode: recording
  > test-request_matcher.R: [Cassette: test] Handling request: POST http://127.0.0.1:64177/post foo=bar
  > test-request_matcher.R: [Cassette: test]   Recording response: 200 with 453 bytes of application/json data
  > test-request_matcher.R: [Cassette: test] Ejecting
  > test-serializer.R: Warning message:
  > test-serializer.R: In for (i in seq_len(n)) { :
  > test-serializer.R:   closing unused connection 4 (/Library/Frameworks/R.framework/Versions/4.6-x86_64/Resources/library/base/CITATION)
  Saving _problems/test-serializer-259.R
  Saving _problems/test-serializer-273.R
  [ FAIL 2 | WARN 1 | SKIP 36 | PASS 446 ]
  
  ══ Skipped tests (36) ══════════════════════════════════════════════════════════
  • On CRAN (36): 'test-ause_cassette_re_record.R:1:1',
    'test-cassette_class.R:1:1', 'test-cassette_class.R:6:3',
    'test-cassette_class.R:40:1', 'test-cassettes.R:16:1',
    'test-check_cassette_names.R:1:1', 'test-check_cassette_names.R:7:1',
    'test-configuration.R:1:1', 'test-configuration.R:47:1', 'test-knitr.R:1:1',
    'test-logger.R:19:1', 'test-lightswitch.R:1:1', 'test-lightswitch.R:11:1',
    'test-lightswitch.R:29:1', 'test-lightswitch.R:80:1',
    'test-request_handler-httr.R:1:1', 'test-request_handler-httr2.R:163:3',
    'test-request_handler-httr2.R:191:3', 'test-request_handler-httr2.R:243:3',
    'test-request_handler.R:1:1', 'test-request_ignorer.R:2:3',
    'test-request_matcher.R:14:1', 'test-request_matcher.R:30:1',
    'test-request_matcher.R:143:1', 'test-request_matcher.R:159:1',
    'test-request_response.R:1:1', 'test-request_response.R:17:1',
    'test-serialize-body.R:90:1', 'test-serializer.R:13:1',
    'test-serializer.R:152:1', 'test-serializer.R:216:1',
    'test-use_cassette.R:20:1', 'test-use_cassette.R:33:1',
    'test-vcr_setup.R:1:1', 'test-vcr_setup.R:31:1', 'test-vcr_setup.R:42:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-serializer.R:259:3'): generates correct path ───────────────────
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `initialize(...)`: The package "qs2" is required.
  Backtrace:
      ▆
   1. └─QS2$new("path", "name") at test-serializer.R:259:3
   2.   └─vcr (local) initialize(...)
   3.     └─rlang::check_installed("qs2")
  ── Error ('test-serializer.R:273:3'): qs2 is idempotent ────────────────────────
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `initialize(...)`: The package "qs2" is required.
  Backtrace:
      ▆
   1. └─QS2$new(withr::local_tempdir(), "name") at test-serializer.R:273:3
   2.   └─vcr (local) initialize(...)
   3.     └─rlang::check_installed("qs2")
  
  [ FAIL 2 | WARN 1 | SKIP 36 | PASS 446 ]
  Error:
  ! Test failures.
  Execution halted