Running ‘testthat.R’ [2s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(methods)
  > library(testthat)
  > library(ari)
  > library(tuneR)
  > library(purrr)
  
  Attaching package: 'purrr'
  
  The following object is masked from 'package:testthat':
  
      is_null
  
  > library(aws.polly)
  > 
  > if (nzchar(Sys.getenv("AWS_ACCESS_KEY_ID"))) {
  +   if (!identical(Sys.getenv("TRAVIS"), "true")) {
  +       aws.signature::use_credentials(profile = "polly")
  +   }
  + }
  > skip_amazon_not_authorized = function() {
  +   if (text2speech::tts_amazon_authenticated()) {
  +     return(invisible(TRUE))
  +   }
  +   skip("Amazon not authenticated()")
  + }
  > 
  > test_check("ari")
  ── 1. Error: (unknown) (@test_ari_narrate.R#4)  ────────────────────────────────
  invalid version specification '4.1.4-1+b1'
  1: ffmpeg_version_sufficient() at testthat/test_ari_narrate.R:4
  2: package_version(ff_ver)
  3: .make_numeric_version(x, strict, .standard_regexps()$valid_package_version, "package_version")
  4: stop(gettextf("invalid version specification %s", paste(sQuote(unique(x[!ok])), collapse = ", ")), 
         call. = FALSE, domain = NA)
  
  ── 2. Error: (unknown) (@test_ari_spin.R#56)  ──────────────────────────────────
  invalid version specification '4.1.4-1+b1'
  1: ffmpeg_version_sufficient() at testthat/test_ari_spin.R:56
  2: package_version(ff_ver)
  3: .make_numeric_version(x, strict, .standard_regexps()$valid_package_version, "package_version")
  4: stop(gettextf("invalid version specification %s", paste(sQuote(unique(x[!ok])), collapse = ", ")), 
         call. = FALSE, domain = NA)
  
  ── 3. Error: (unknown) (@test_ari_stitch.R#3)  ─────────────────────────────────
  invalid version specification '4.1.4-1+b1'
  1: ffmpeg_version_sufficient() at testthat/test_ari_stitch.R:3
  2: package_version(ff_ver)
  3: .make_numeric_version(x, strict, .standard_regexps()$valid_package_version, "package_version")
  4: stop(gettextf("invalid version specification %s", paste(sQuote(unique(x[!ok])), collapse = ", ")), 
         call. = FALSE, domain = NA)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 1 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 3 ]
  1. Error: (unknown) (@test_ari_narrate.R#4) 
  2. Error: (unknown) (@test_ari_spin.R#56) 
  3. Error: (unknown) (@test_ari_stitch.R#3) 
  
  Error: testthat unit tests failed
  Execution halted