Running ‘spelling.R’
  Running ‘testthat.R’ [196s/214s]
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.837, 41.8% better 
  Target: 0.875, 4.5% better 
  Target: 0.917, 4.8% better 
  Target: 0.923, 0.7% better 
  Target: 0.940, 1.8% better 
  Target: 0.955, 1.6% better 
  Target: 0.956, 0.1% better 
  Target: 0.959, 0.2% better 
  Target: 0.960, 0.1% better 
  Target: 0.973, 1.4% better 
  Target: 0.988, 1.4% better 
  Target: 0.991, 0.3% better 
  Target: 0.992, 0.1% better 
  Target: 0.994, 0.2% better 
  Target: 0.996, 0.2% better 
  No better bases found after 25 tries.  Giving up.
  Final projection: 
   0.555   0.654  
   0.210  -0.092  
  -0.221   0.671  
   0.145   0.172  
   0.760  -0.290  
  Target: 0.921, 11.8% better 
  Target: 0.944, 2.4% better 
  Target: 0.959, 1.6% better 
  Target: 0.983, 2.5% better 
  Target: 0.986, 0.4% better 
  Target: 0.994, 0.7% better 
  Target: 0.996, 0.2% better 
  Target: 0.997, 0.1% better 
  No better bases found after 25 tries.  Giving up.
  Final projection: 
  -0.581  -0.576  
  -0.191   0.116  
   0.098  -0.709  
  -0.192  -0.154  
  -0.761   0.358  
  Target: 0.255, 154.0% better 
  Target: 0.459, 80.3% better 
  Target: 0.522, 13.8% better 
  Target: 0.534, 2.3% better 
  Target: 0.554, 3.7% better 
  Target: 0.561, 1.4% better 
  Target: 0.603, 7.4% better 
  Target: 0.627, 4.0% better 
  Target: 0.693, 10.5% better 
  Target: 0.705, 1.8% better 
  Target: 0.716, 1.5% better 
  Target: 0.720, 0.5% better 
  Target: 0.728, 1.1% better 
  Target: 0.737, 1.2% better 
  Target: 0.739, 0.3% better 
  Target: 0.748, 1.1% better 
  Target: 0.749, 0.2% better 
  No better bases found after 30 tries.  Giving up.
  Final projection: 
   0.382  -0.376  
   0.609   0.152  
  -0.162   0.723  
  -0.632  -0.410  
  -0.239   0.380  
  
  Attaching package: 'ggplot2'
  
  The following objects are masked from 'package:spinifex':
  
      scale_colour_discrete, scale_fill_discrete
  
  Target: 0.821, 34.0% better 
  Target: 0.844, 2.9% 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