Running ‘spelling.R’
  Running ‘testthat.R’ [189s/217s]
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.848, 31.4% better 
  Target: 0.863, 1.8% better 
  Target: 0.939, 8.8% better 
  Target: 0.942, 0.4% better 
  Target: 0.948, 0.6% better 
  Target: 0.950, 0.2% better 
  Target: 0.953, 0.4% better 
  Target: 0.955, 0.2% better 
  No better bases found after 25 tries.  Giving up.
  Final projection: 
  -0.937  -0.042  
  -0.039   0.777  
  -0.325  -0.201  
  -0.106   0.520  
  -0.068   0.291  
  Target: 0.790, 12.0% better 
  Target: 0.930, 17.7% better 
  Target: 0.981, 5.5% better 
  Target: 0.986, 0.5% better 
  Target: 0.990, 0.4% better 
  Target: 0.993, 0.3% better 
  Target: 0.994, 0.1% better 
  Target: 0.996, 0.2% better 
  No better bases found after 25 tries.  Giving up.
  Final projection: 
  -0.480   0.679  
  -0.166  -0.063  
   0.237   0.679  
  -0.215   0.141  
  -0.800  -0.231  
  Target: 0.505, 46.8% better 
  Target: 0.617, 22.3% better 
  Target: 0.674, 9.2% better 
  Target: 0.682, 1.2% better 
  Target: 0.717, 5.1% better 
  Target: 0.729, 1.8% better 
  Target: 0.734, 0.7% better 
  Target: 0.741, 0.9% better 
  Target: 0.744, 0.4% better 
  Target: 0.746, 0.3% 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.099   0.548  
   0.466   0.451  
   0.507  -0.551  
  -0.690  -0.278  
   0.201  -0.339  
  
  Attaching package: 'ggplot2'
  
  The following objects are masked from 'package:spinifex':
  
      scale_colour_discrete, scale_fill_discrete
  
  Target: 0.801, 64.0% better 
  Target: 0.813, 1.4% 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