Running ‘spelling.R’
  Running ‘testthat.R’ [217s/566s]
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.801, 6.8% better 
  Target: 0.827, 3.3% better 
  Target: 0.897, 8.5% better 
  Target: 0.918, 2.3% better 
  Target: 0.958, 4.4% better 
  Target: 0.983, 2.6% better 
  Target: 0.990, 0.7% better 
  Target: 0.999, 0.9% better 
  Target: 1.003, 0.3% better 
  Target: 1.009, 0.6% better 
  Target: 1.010, 0.1% better 
  Target: 1.013, 0.3% better 
  Target: 1.016, 0.3% better 
  Target: 1.019, 0.2% better 
  Target: 1.020, 0.1% better 
  Target: 1.024, 0.4% better 
  Target: 1.030, 0.5% better 
  Target: 1.032, 0.2% better 
  Target: 1.034, 0.2% better 
  Target: 1.038, 0.5% better 
  Target: 1.041, 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.204   0.158  
   0.411  -0.543  
   0.563   0.305  
   0.476  -0.461  
  -0.496  -0.612  
  Target: 0.920, 16.5% better 
  Target: 0.932, 1.2% better 
  Target: 0.940, 0.9% better 
  Target: 0.948, 0.8% better 
  Target: 0.949, 0.1% better 
  Target: 0.950, 0.1% better 
  Target: 0.953, 0.2% better 
  Target: 0.954, 0.1% better 
  Target: 0.955, 0.1% better 
  No better bases found after 25 tries.  Giving up.
  Final projection: 
   0.813   0.458  
   0.379  -0.604  
   0.173   0.394  
   0.327  -0.420  
   0.244  -0.306  
  Target: 0.452, 11.9% better 
  Target: 0.571, 26.3% better 
  Target: 0.597, 4.6% better 
  Target: 0.635, 6.3% better 
  Target: 0.667, 5.1% better 
  Target: 0.674, 1.1% better 
  Target: 0.717, 6.3% better 
  Target: 0.739, 3.0% better 
  Target: 0.744, 0.7% better 
  Target: 0.746, 0.2% better 
  Target: 0.746, 0.1% better 
  Target: 0.747, 0.1% better 
  Target: 0.749, 0.2% better 
  Target: 0.749, 0.1% better 
  No better bases found after 30 tries.  Giving up.
  Final projection: 
  -0.393   0.393  
  -0.611  -0.131  
   0.158  -0.727  
   0.639   0.410  
   0.199  -0.363  
  
  Attaching package: 'ggplot2'
  
  The following objects are masked from 'package:spinifex':
  
      scale_colour_discrete, scale_fill_discrete
  
  Target: 0.805, 12.6% better 
  Target: 0.886, 10.0% 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