Running 'spelling.R' [0s]
  Running 'testthat.R' [125s]
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.826, 36.9% better 
  Target: 1.008, 22.1% better 
  Target: 1.029, 2.1% better 
  Target: 1.031, 0.2% better 
  Target: 1.035, 0.5% better 
  Target: 1.039, 0.3% better 
  Target: 1.042, 0.3% better 
  Target: 1.044, 0.2% better 
  No better bases found after 25 tries.  Giving up.
  Final projection: 
   0.173  -0.168  
  -0.596   0.336  
   0.198   0.582  
  -0.550   0.376  
  -0.523  -0.615  
  Target: 0.816, 26.5% better 
  Target: 0.945, 15.8% better 
  Target: 1.003, 6.1% better 
  Target: 1.011, 0.8% better 
  Target: 1.024, 1.2% better 
  Target: 1.036, 1.2% better 
  Target: 1.038, 0.2% better 
  Target: 1.041, 0.3% better 
  Target: 1.043, 0.2% better 
  Target: 1.044, 0.1% better 
  No better bases found after 25 tries.  Giving up.
  Final projection: 
   0.224  -0.042  
  -0.714   0.026  
  -0.078   0.645  
  -0.632   0.097  
  -0.185  -0.756  
  Target: 0.412, 89.6% better 
  Target: 0.523, 27.0% better 
  Target: 0.611, 16.7% better 
  Target: 0.692, 13.3% better 
  Target: 0.735, 6.3% better 
  Target: 0.742, 1.0% better 
  Target: 0.743, 0.1% better 
  Target: 0.747, 0.5% better 
  Target: 0.748, 0.1% better 
  Target: 0.749, 0.1% better 
  No better bases found after 30 tries.  Giving up.
  Final projection: 
  -0.516   0.249  
  -0.543  -0.316  
   0.381  -0.636  
   0.453   0.607  
   0.299  -0.254  
  
  Attaching package: 'ggplot2'
  
  The following objects are masked from 'package:spinifex':
  
      scale_colour_discrete, scale_fill_discrete
  
  Target: 0.815, 6.4% better 
  Target: 0.860, 5.5% 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