Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [82s/96s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(spinifex)
  Loading required package: tourr
  --------------------------------------------------------
  spinifex --- version 0.3.9
  Please share bugs, suggestions, and feature requests at:
  https://github.com/nspyrison/spinifex/issues/
  --------------------------------------------------------
  
  Attaching package: 'spinifex'
  
  The following objects are masked from 'package:tourr':
  
      is_orthonormal, save_history
  
  > 
  > test_check("spinifex")
  Target: 0.663, 40.7% better 
  Target: 0.739, 11.4% better 
  Target: 0.899, 21.8% better 
  Target: 1.016, 13.0% better 
  Target: 1.024, 0.8% better 
  Target: 1.026, 0.2% better 
  Target: 1.031, 0.5% better 
  Target: 1.040, 0.8% better 
  Target: 1.041, 0.1% better 
  Target: 1.042, 0.1% better 
  Target: 1.043, 0.1% better 
  No better bases found after 25 tries.  Giving up.
  Final projection: 
   0.065   0.283  
  -0.245  -0.642  
   0.565  -0.308  
  -0.156  -0.630  
  -0.770   0.130  
  Target: 0.773, 22.7% better 
  Target: 0.907, 17.3% better 
  Target: 0.949, 4.6% better 
  Target: 0.958, 0.9% better 
  Target: 1.005, 4.9% better 
  Target: 1.014, 0.9% better 
  Target: 1.021, 0.7% better 
  Target: 1.023, 0.2% better 
  Target: 1.027, 0.4% better 
  Target: 1.028, 0.1% better 
  Target: 1.033, 0.4% better 
  Target: 1.036, 0.3% better 
  Target: 1.038, 0.2% better 
  Target: 1.040, 0.2% better 
  Target: 1.042, 0.1% better 
  Target: 1.043, 0.1% better 
  Target: 1.044, 0.1% better 
  No better bases found after 25 tries.  Giving up.
  Final projection: 
   0.062  -0.226  
  -0.008   0.694  
  -0.603   0.093  
  -0.118   0.649  
   0.786   0.193  
  Target: 0.312, 40.1% better 
  Target: 0.440, 40.9% better 
  Target: 0.477, 8.3% better 
  Target: 0.694, 45.6% better 
  Target: 0.701, 1.0% better 
  Target: 0.725, 3.4% better 
  Target: 0.732, 1.1% better 
  Target: 0.733, 0.1% better 
  Target: 0.736, 0.4% better 
  Target: 0.743, 0.9% better 
  Target: 0.747, 0.6% better 
  Target: 0.748, 0.1% better 
  Target: 0.749, 0.1% better 
  Target: 0.750, 0.1% better 
  No better bases found after 30 tries.  Giving up.
  Final projection: 
  -0.439  -0.332  
  -0.597   0.222  
   0.264   0.691  
   0.564  -0.498  
   0.252   0.338  
  
  Attaching package: 'ggplot2'
  
  The following objects are masked from 'package:spinifex':
  
      scale_colour_discrete, scale_fill_discrete
  
  Target: 0.669, 38.0% better 
  Target: 0.891, 33.1% better 
  `nframes` and `fps` adjusted to match transition
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 90 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-2_ggproto_visualize.r:53:1'): (code run outside of `test_that()`) ──
  Error in `UseMethod("layout")`: no applicable method for 'layout' applied to an object of class "c('ggplot2::ggplot', 'ggplot', 'ggplot2::gg', 'S7_object', 'gg')"
  Backtrace:
      ▆
   1. ├─spinifex::animate_plotly(gg_mt) at test-2_ggproto_visualize.r:53:1
   2. │ └─... %>% ...
   3. └─plotly::layout(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 90 ]
  Error: Test failures
  Execution halted