Running 'testthat.R' [65s]
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")
  + }
  Write Error
  Write Error
  Write Error
  Write Error
  Write Error
  Write Error
  Write Error
  Invalid PNG signature 0x00000000.
  Invalid PNG signature 0x00000000.
  Invalid PNG signature 0x00000000.
  Invalid PNG signature 0x00000000.
  Invalid PNG signature 0x00000000.
  Invalid PNG signature 0x00000000.
  Invalid PNG signature 0x00000000.
  Invalid PNG signature 0x00000000.
  Invalid PNG signature 0x00000000.
  decoding for stream 0 failed
  Could not find codec parameters for stream 0 (Video: png, none(pc)): unspecified size
  Consider increasing the value for the 'analyzeduration' and 'probesize' options
  Invalid PNG signature 0x00000000.
  Invalid PNG signature 0x00000000.
  == Failed tests ================================================================
  -- Error (test-fft.R:32:3): Read binary audio ----------------------------------
  Error: FFMPEG error in 'av_interleaved_write_frame': No space left on device
  Backtrace:
      x
   1. \-av:::read_audio_bin_old(wonderland) test-fft.R:32:2
   2.   \-av::av_audio_convert(...)
  -- Error (test-video.R:26:5): convert images into video formats ----------------
  Error: FFMPEG error in 'avcodec_send_packet': Invalid data found when processing input
  Backtrace:
      x
   1. \-av::av_encode_video(...) test-video.R:26:4
  -- Error (test-video.R:55:5): audio sampling works -----------------------------
  Error: FFMPEG error in 'avcodec_send_packet': Invalid data found when processing input
  Backtrace:
      x
   1. \-av::av_encode_video(...) test-video.R:55:4
  -- Error (test-video.R:91:3): fractional framerates work -----------------------
  Error: FFMPEG error in 'avcodec_send_packet': Invalid data found when processing input
  Backtrace:
      x
   1. \-av::av_encode_video(...) test-video.R:91:2
  -- Error (test-video.R:104:5): speed up/down filters ---------------------------
  Error: FFMPEG error in 'avcodec_send_packet': Invalid data found when processing input
  Backtrace:
      x
   1. \-av::av_encode_video(...) test-video.R:104:4
  -- Failure (test-video.R:120:3): test error handling ---------------------------
  `av_encode_video(png_files, vfilter = "doesnontexist", verbose = -8)` threw an error with unexpected message.
  Expected match: "filter"
  Actual message: "FFMPEG error in 'avcodec_send_packet': Invalid data found when processing input"
  Backtrace:
      x
   1. +-testthat::expect_error(...) test-video.R:120:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat:::.capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. \-av::av_encode_video(png_files, vfilter = "doesnontexist", verbose = -8)
  -- Failure (test-video.R:131:3): test error handling ---------------------------
  `av_encode_video(rep(png_files, 100), verbose = FALSE)` threw an error with unexpected message.
  Expected match: "time"
  Actual message: "FFMPEG error in 'avcodec_send_packet': Invalid data found when processing input"
  Backtrace:
      x
   1. +-base::system.time(...) test-video.R:131:2
   2. +-testthat::expect_error(...)
   3. | \-testthat:::quasi_capture(...)
   4. |   +-testthat:::.capture(...)
   5. |   | \-base::withCallingHandlers(...)
   6. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   7. \-av::av_encode_video(rep(png_files, 100), verbose = FALSE)
  
  [ FAIL 7 | WARN 1 | SKIP 0 | PASS 79 ]
  Error: Test failures
  Execution halted