Running ‘spelling.R’
  Running ‘testthat.R’ [197s/216s]
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.722, 41.1% better 
  Target: 0.870, 20.4% better 
  Target: 0.885, 1.7% better 
  Target: 0.916, 3.6% better 
  Target: 0.960, 4.8% better 
  Target: 0.978, 1.9% better 
  Target: 0.988, 1.0% better 
  Target: 0.991, 0.3% better 
  Target: 0.994, 0.3% better 
  Target: 0.995, 0.1% better 
  Target: 0.997, 0.2% better 
  No better bases found after 25 tries.  Giving up.
  Final projection: 
  -0.204  -0.810  
  -0.198   0.006  
   0.473  -0.537  
  -0.092  -0.218  
  -0.829  -0.084  
  Target: 0.895, 21.8% better 
  Target: 0.980, 9.5% better 
  Target: 0.997, 1.7% better 
  Target: 0.999, 0.2% better 
  Target: 1.006, 0.7% better 
  Target: 1.008, 0.2% better 
  Target: 1.014, 0.5% better 
  Target: 1.019, 0.5% better 
  Target: 1.030, 1.1% better 
  Target: 1.032, 0.2% better 
  Target: 1.040, 0.7% better 
  Target: 1.042, 0.2% better 
  Target: 1.044, 0.1% better 
  No better bases found after 25 tries.  Giving up.
  Final projection: 
  -0.181  -0.110  
   0.399   0.592  
   0.551  -0.295  
   0.441   0.491  
  -0.557   0.556  
  Target: 0.359, 110.9% better 
  Target: 0.466, 29.6% better 
  Target: 0.503, 8.1% better 
  Target: 0.590, 17.2% better 
  Target: 0.612, 3.6% better 
  Target: 0.614, 0.4% better 
  Target: 0.615, 0.2% better 
  Target: 0.618, 0.4% better 
  Target: 0.619, 0.2% better 
  Target: 0.619, 0.1% better 
  Target: 0.620, 0.1% better 
  Target: 0.623, 0.5% better 
  Target: 0.627, 0.5% better 
  Target: 0.631, 0.7% better 
  Target: 0.639, 1.3% better 
  Target: 0.648, 1.4% better 
  Target: 0.654, 1.0% better 
  Target: 0.668, 2.1% better 
  Target: 0.683, 2.3% better 
  Target: 0.689, 0.9% better 
  Target: 0.692, 0.5% better 
  Target: 0.712, 2.8% better 
  Target: 0.719, 1.1% better 
  Target: 0.729, 1.4% better 
  Target: 0.731, 0.2% better 
  Target: 0.734, 0.4% better 
  Target: 0.736, 0.3% better 
  Target: 0.738, 0.4% better 
  Target: 0.746, 1.0% better 
  Target: 0.748, 0.3% better 
  Target: 0.749, 0.1% better 
  No better bases found after 30 tries.  Giving up.
  Final projection: 
   0.365  -0.430  
  -0.154  -0.626  
  -0.719   0.204  
   0.457   0.590  
  -0.343   0.182  
  
  Attaching package: 'ggplot2'
  
  The following objects are masked from 'package:spinifex':
  
      scale_colour_discrete, scale_fill_discrete
  
  Target: 0.903, 10.0% better 
  Target: 0.908, 0.6% 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