Running 'testthat.R' [16s]
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.
  Saving _problems/test-check_cassette_names-3.R
  > 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:51500/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_handler-crul.R: Warning message:
  > test-request_handler-crul.R: In for (i in seq_len(n)) { :
  > test-request_handler-crul.R:   closing unused connection 4 (D:\RCompile\recent\R-4.4.3\library\base\CITATION)
  > 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:51500/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
  [ FAIL 1 | WARN 1 | SKIP 36 | PASS 433 ]
  
  ══ Skipped tests (36) ══════════════════════════════════════════════════════════
  • On CRAN (35): '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:6: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_response.R:1:1', 'test-request_response.R:17:1',
    '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-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'
  • {jpeg} is not installed (1): 'test-serializer.R:39:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-check_cassette_names.R:3:3'): check_cassette_names is deprecated ──
  Error in `list.files(".", pattern = pattern, full.names = TRUE)`: invalid 'pattern' regular expression
  Backtrace:
      ▆
   1. └─vcr::check_cassette_names(dir)
   2.   └─base::list.files(".", pattern = pattern, full.names = TRUE)
  
  [ FAIL 1 | WARN 1 | SKIP 36 | PASS 433 ]
  Error:
  ! Test failures.
  Execution halted