Running 'testthat.R' [79s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(av)
  > 
  > if (ps::ps_is_supported()) {
  +   # This sometimes has false positives on MacOS https://github.com/r-lib/ps/issues/90
  +   reporter <- ps::CleanupReporter(testthat::CheckReporter)$new(proc_cleanup = FALSE, proc_fail = FALSE, conn_fail = FALSE)
  +   test_check("av", reporter = reporter)
  + } else {
  +   test_check("av")
  + }
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 194 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-fft.R:5:1): (code run outside of `test_that()`) ───────────────
  'Audio FFT' did not close open files: 'D:\\RCompile\\CRANpkg\\local\\4.3\\av.Rcheck\\00check.log'
  Backtrace:
       ▆
    1. └─testthat::test_check("av", reporter = reporter)
    2.   └─testthat::test_dir(...)
    3.     └─testthat:::test_files(...)
    4.       └─testthat:::test_files(...)
    5.         ├─testthat::with_reporter(...)
    6.         │ └─base::tryCatch(...)
    7.         │   └─base tryCatchList(expr, classes, parentenv, handlers)
    8.         │     └─base tryCatchOne(expr, names, parentenv, handlers[[1L]])
    9.         │       └─base doTryCatch(return(expr), name, parentenv, handler)
   10.         └─base::lapply(test_paths, test_one_file, env = env, wrap = wrap)
   11.           └─testthat FUN(X[[i]], ...)
   12.             └─testthat::source_file(path, child_env(env), wrap = wrap)
   13.               └─testthat:::test_code(NULL, exprs, env)
   14.                 ├─base::tryCatch(...)
   15.                 │ └─base tryCatchList(expr, classes, parentenv, handlers)
   16.                 │   ├─base tryCatchOne(...)
   17.                 │   │ └─base doTryCatch(return(expr), name, parentenv, handler)
   18.                 │   └─base tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
   19.                 │     └─base tryCatchOne(expr, names, parentenv, handlers[[1L]])
   20.                 │       └─base doTryCatch(return(expr), name, parentenv, handler)
   21.                 ├─base::withCallingHandlers(...)
   22.                 └─base::eval(code, test_env)
   23.                   └─base::eval(code, test_env)
   24.                     └─testthat::test_that(...) at test-fft.R:5:0
   25.                       └─testthat:::test_code(desc, code, env = parent.frame(), reporter = reporter)
   26.                         └─reporter$end_test(context = reporter$.context, test = test)
   27.                           └─testthat:::o_apply(self$reporters, "end_test", context, test)
   28.                             └─base::lapply(objects, f)
   29.                               └─testthat FUN(X[[i]], ...)
   30.                                 └─x$end_test(...)
   31.                                   └─self$do_file_cleanup(test)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 194 ]
  Error: Test failures
  Execution halted