Running 'testthat.R' [14s]
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
  [ FAIL 1 | WARN 0 | SKIP 36 | PASS 421 ]
  
  ══ Skipped tests (36) ══════════════════════════════════════════════════════════
  • On CRAN (35): 'test-ause_cassette_re_record.R:24:3',
    'test-cassette_class.R:2:3', 'test-cassette_class.R:6:3',
    'test-cassette_class.R:44:3', 'test-check_cassette_names.R:30:3',
    'test-cassettes.R:17:3', 'test-configuration.R:2:3',
    'test-configuration.R:50:3', 'test-knitr.R:4:3', 'test-logger.R:25:3',
    'test-lightswitch.R:4:3', 'test-lightswitch.R:16:5',
    'test-lightswitch.R:35:3', 'test-lightswitch.R:88:3',
    '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:5:3', 'test-request_ignorer.R:2:3',
    'test-request_matcher.R:22:3', 'test-request_matcher.R:36:3',
    'test-request_matcher.R:152:3', 'test-request_matcher.R:168:3',
    'test-request_response.R:9:3', 'test-request_response.R:26:3',
    'test-serialize-body.R:94:3', 'test-serializer.R:14:3',
    'test-serializer.R:166:3', 'test-serializer.R:229:3',
    'test-use_cassette.R:23:3', 'test-use_cassette.R:36:3',
    'test-vcr_setup.R:3:3', 'test-vcr_setup.R:36:3', 'test-vcr_setup.R:45:3'
  • {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. └─testthat::expect_snapshot(check_cassette_names(dir)) at test-check_cassette_names.R:3:3
   2.   └─rlang::cnd_signal(state$error)
  
  [ FAIL 1 | WARN 0 | SKIP 36 | PASS 421 ]
  Error: Test failures
  Execution halted