Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [126s/151s]
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.861, 2.2% better 
  Target: 0.876, 1.8% better 
  Target: 0.998, 13.9% better 
  Target: 1.014, 1.6% better 
  Target: 1.026, 1.2% better 
  Target: 1.039, 1.2% better 
  Target: 1.041, 0.3% 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.252   0.014  
  -0.676   0.097  
  -0.205  -0.603  
  -0.660   0.045  
  -0.040   0.790  
  Target: 0.905, 5.5% better 
  Target: 0.931, 2.8% better 
  Target: 0.949, 2.0% better 
  Target: 0.956, 0.7% better 
  Target: 0.963, 0.6% better 
  Target: 0.967, 0.4% better 
  Target: 0.976, 1.0% better 
  Target: 0.979, 0.2% better 
  Target: 0.993, 1.4% better 
  Target: 0.996, 0.3% better 
  Target: 0.997, 0.1% better 
  No better bases found after 25 tries.  Giving up.
  Final projection: 
  -0.360   0.755  
   0.145   0.129  
  -0.706   0.101  
  -0.087   0.233  
   0.585   0.590  
  Target: 0.536, 123.1% better 
  Target: 0.559, 4.2% better 
  Target: 0.570, 2.0% better 
  Target: 0.577, 1.2% better 
  Target: 0.588, 1.8% better 
  Target: 0.595, 1.2% better 
  Target: 0.597, 0.4% better 
  Target: 0.598, 0.1% better 
  Target: 0.606, 1.3% better 
  Target: 0.607, 0.3% better 
  Target: 0.608, 0.1% better 
  Target: 0.609, 0.2% better 
  Target: 0.610, 0.1% better 
  No better bases found after 30 tries.  Giving up.
  Final projection: 
   0.443  -0.369  
  -0.209   0.726  
   0.502   0.230  
  -0.474  -0.525  
   0.533  -0.092  
  
  Attaching package: 'ggplot2'
  
  The following objects are masked from 'package:spinifex':
  
      scale_colour_discrete, scale_fill_discrete
  
  Target: 0.914, 8.6% better 
  Target: 0.919, 0.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