Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(gganimate)
  Loading required package: ggplot2
  > 
  > test_check("gganimate")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-anim_save.R:11:3): anim_save overwrites existing files ──────────
  Error: transformr is required to tween paths and lines
  Backtrace:
       █
    1. ├─utils::capture.output(...) test-anim_save.R:11:2
    2. │ └─base::withVisible(...elt(i))
    3. ├─gganimate::animate(p, nframes = 2) test-anim_save.R:12:4
    4. └─gganimate:::animate.gganim(p, nframes = 2)
    5.   └─gganimate:::prerender(plot, nframes_total)
    6.     ├─ggplot2::ggplot_build(plot)
    7.     └─gganimate:::ggplot_build.gganim(plot)
    8.       └─scene$after_defaults(data)
    9.         └─gganimate:::f(..., self = self)
   10.           └─self$transition$expand_data(...)
   11.             └─gganimate:::f(..., self = self)
   12.               └─base::Map(...)
   13.                 └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
   14.                   └─(function (data, type, id, match, ease, enter, exit, layer_index) ...
   15.                     └─self$expand_layer(...)
   16.                       └─gganimate:::f(..., self = self)
   17.                         └─base::lapply(...)
   18.                           └─gganimate:::FUN(X[[i]], ...)
   19.                             └─self$expand_panel(...)
   20.                               └─gganimate:::f(..., self = self)
   21.                                 └─gganimate:::transform_path(...)
  ── Error (test-transition-states.R:11:3): area works ───────────────────────────
  Error: transformr is required to tween paths and lines
  Backtrace:
       █
    1. ├─testthat::expect_silent(prerender(p, 50)) test-transition-states.R:11:2
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat:::.capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. └─gganimate:::prerender(p, 50)
   10.   ├─ggplot2::ggplot_build(plot)
   11.   └─gganimate:::ggplot_build.gganim(plot)
   12.     └─scene$after_defaults(data)
   13.       └─gganimate:::f(..., self = self)
   14.         └─self$transition$expand_data(...)
   15.           └─gganimate:::f(..., self = self)
   16.             └─base::Map(...)
   17.               └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
   18.                 └─(function (data, type, id, match, ease, enter, exit, layer_index) ...
   19.                   └─self$expand_layer(...)
   20.                     └─gganimate:::f(..., self = self)
   21.                       └─base::lapply(...)
   22.                         └─gganimate:::FUN(X[[i]], ...)
   23.                           └─self$expand_panel(...)
   24.                             └─gganimate:::f(..., self = self)
   25.                               └─gganimate:::transform_path(...)
  
  [ FAIL 2 | WARN 0 | SKIP 1 | PASS 4 ]
  Error: Test failures
  Execution halted