Running ‘test-catch.R’
  Running ‘testthat.R’ [79s/42s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > test_check("testthat")
  Starting 2 test processes
  ── Skip (test-parallel-crash.R:3:3): crash ─────────────────────────────────────
  Reason: On CRAN
  
  ── Skip (test-watcher.R:40:3): watcher works correctly ─────────────────────────
  Reason: On CRAN
  
  ── Skip (test-parallel-teardown.R:3:3): teardown error ─────────────────────────
  Reason: teardown errors are ignored
  
  ── ERROR (test-catch.R:10:1): (code run outside of `test_that()`) ──────────────
  Error: '' does not exist in current working directory ('/home/ripley/R/packages/tests32/testthat.Rcheck/tests/testthat').
  Backtrace:
      █
   1. └─testthat::run_cpp_tests("testthat") test-catch.R:10:0
   2.   ├─xml2::read_xml(paste(output, collapse = "\n"))
   3.   └─xml2:::read_xml.character(paste(output, collapse = "\n"))
   4.     └─xml2:::path_to_connection(x)
   5.       └─xml2:::check_path(path)
  
  ── Skip (test-edition.R:14:3): deprecation only fired for newer edition ────────
  Reason: On CRAN
  
  ── Skip (test-expect-constant.R:7:3): logical tests act as expected ────────────
  Reason: On CRAN
  
  ── Skip (test-expect-constant.R:25:3): expect_null works ───────────────────────
  Reason: On CRAN
  
  ── Skip (test-expect-condition.R:8:3): regexp = NULL checks for presence of erro
  Reason: On CRAN
  
  ── Skip (test-expect-condition.R:19:3): regexp = string matches for error messag
  Reason: On CRAN
  
  ── Skip (test-expect-condition.R:48:3): message method is called when expecting 
  Reason: On CRAN
  
  ── Skip (test-expect-equality.R:71:3): provide useful feedback on failure ──────
  Reason: On CRAN
  
  ── Skip (test-expect-known.R:50:3): works in non-UTF-8 locale ──────────────────
  Reason: non utf8 locale
  
  ── Skip (test-reporter-check.R:2:3): basic report works ────────────────────────
  Reason: On CRAN
  
  ── Skip (test-reporter-junit.R:2:3): reporter doesn't change without warning ───
  Reason: On CRAN
  
  ── Skip (test-reporter-location.R:2:3): reporter as expected ───────────────────
  Reason: On CRAN
  
  ── Skip (test-reporter-minimal.R:2:3): reporter as expected ────────────────────
  Reason: On CRAN
  
  ── Skip (test-reporter-debug.R:12:3): produces consistent output ───────────────
  Reason: On CRAN
  
  ── Skip (test-reporter-rstudio.R:2:3): reporter basics works ───────────────────
  Reason: On CRAN
  
  ── Skip (test-reporter-silent.R:3:3): captures expectations; doesn't produce any
  Reason: On CRAN
  
  ── Skip (test-reporter-stop.R:2:3): produces useful output ─────────────────────
  Reason: On CRAN
  
  ── Skip (test-reporter-stop.R:6:3): stop stops at first failure ────────────────
  Reason: On CRAN
  
  ── Skip (test-reporter-progress.R:4:3): captures error before first test ───────
  Reason: On CRAN
  
  ── Skip (test-reporter-progress.R:11:3): gracefully handles multiple contexts ──
  Reason: On CRAN
  
  ── Skip (test-reporter-progress.R:20:3): fails after max_fail tests ────────────
  Reason: On CRAN
  
  ── Skip (test-reporter-progress.R:27:3): can fully suppress incremental updates 
  Reason: On CRAN
  
  ── Skip (test-reporter-progress.R:39:3): reports backtraces ────────────────────
  Reason: On CRAN
  
  ── Skip (test-reporter-progress.R:48:3): compact display is informative ────────
  Reason: On CRAN
  
  ── Skip (test-reporter-progress.R:55:3): display of successes only is compact ──
  Reason: On CRAN
  
  ── Skip (test-reporter-tap.R:2:3): reporter works ──────────────────────────────
  Reason: On CRAN
  
  ── Skip (test-reporter-summary.R:2:3): can control appearance of dots ──────────
  Reason: On CRAN
  
  ── Skip (test-reporter-summary.R:7:3): can control maximum reports ─────────────
  Reason: On CRAN
  
  ── Skip (test-reporter-teamcity.R:2:3): reporter basics work ───────────────────
  Reason: On CRAN
  
  ── Skip (test-reporter.R:10:3): can control output with file arg/option ────────
  Reason: On CRAN
  
  ── Skip (test-snapshot-file.R:3:3): expect_snapshot_file works ─────────────────
  Reason: On CRAN
  
  ── Skip (test-snapshot-file.R:23:3): basic workflow ────────────────────────────
  Reason: On CRAN
  
  ── Skip (test-snapshot-manage.R:4:3): informs about files being accepted ───────
  Reason: On CRAN
  
  ── Skip (test-snapshot-manage.R:12:3): can accept specific files ───────────────
  Reason: On CRAN
  
  ── Skip (test-snapshot-reporter.R:15:3): basic workflow ────────────────────────
  Reason: On CRAN
  
  ── Skip (test-snapshot-reporter.R:42:3): removing tests removes snap file ──────
  Reason: On CRAN
  
  ── Skip (test-snapshot-reporter.R:55:3): errors if can't roundtrip ─────────────
  Reason: On CRAN
  
  ── Skip (test-snapshot-reporter.R:63:3): errors in test doesn't change snapshot 
  Reason: On CRAN
  
  ── Skip (test-snapshot.R:3:3): can snapshot output ─────────────────────────────
  Reason: On CRAN
  
  ── Skip (test-snapshot.R:16:3): can snapshot everything ────────────────────────
  Reason: On CRAN
  
  ── Skip (test-snapshot.R:20:3): snapshot handles multi-line input ──────────────
  Reason: On CRAN
  
  ── Skip (test-snapshot.R:31:3): snapshot captures output if visible ────────────
  Reason: On CRAN
  
  ── Skip (test-snapshot.R:41:3): captures custom classes ────────────────────────
  Reason: On CRAN
  
  ── Skip (test-snapshot.R:45:3): even with multiple lines ───────────────────────
  Reason: On CRAN
  
  ── Skip (test-snapshot.R:51:3): can snapshot values ────────────────────────────
  Reason: On CRAN
  
  ── Skip (test-test-example.R:3:3): can test documentation from path or Rd object
  Reason: file.exists(rd_path) is not TRUE
  
  ── Skip (test-test-example.R:11:3): returns false if no examples ───────────────
  Reason: file.exists(rd_path) is not TRUE
  
  ── Skip (test-verify-output.R:2:3): can record all types of output ─────────────
  Reason: On CRAN
  
  ── Skip (test-verify-output.R:23:3): can record all types of output ────────────
  Reason: On CRAN
  
  ── Skip (test-verify-output.R:47:3): verify_output() splits condition messages o
  Reason: On CRAN
  
  ── Skip (test-verify-output.R:55:3): can use constructed calls in verify_output(
  Reason: On CRAN
  
  ── Skip (test-verify-output.R:65:3): verify_output() doesn't use cli unicode by 
  Reason: On CRAN
  
  ── Skip (test-verify-output.R:82:3): verify_output() handles carriage return ───
  Reason: On CRAN
  
  ── Skip (test-test-files.R:18:3): runs all tests and records output ────────────
  Reason: On CRAN
  
  ── Skipped tests  ──────────────────────────────────────────────────────────────
  ● On CRAN (52)
  ● file.exists(rd_path) is not TRUE (2)
  ● non utf8 locale (1)
  ● teardown errors are ignored (1)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  ERROR (test-catch.R:10:1): (code run outside of `test_that()`)
  
  [ FAIL 1 | WARN 0 | SKIP 56 | PASS 675 ]
  Error: Test failures
  Execution halted