Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [84s/107s]
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.827, 84.7% better 
  Target: 0.978, 18.3% better 
  Target: 0.993, 1.5% better 
  Target: 1.011, 1.8% better 
  Target: 1.020, 0.8% better 
  Target: 1.021, 0.1% better 
  Target: 1.041, 1.9% better 
  Target: 1.042, 0.1% better 
  Target: 1.043, 0.1% better 
  No better bases found after 25 tries.  Giving up.
  Final projection: 
  -0.178   0.022  
   0.699   0.189  
   0.249  -0.546  
   0.641   0.114  
  -0.081   0.808  
  Target: 0.998, 14.4% better 
  Target: 1.037, 3.9% better 
  Target: 1.039, 0.2% 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.226  -0.131  
  -0.644   0.214  
   0.154   0.657  
  -0.588   0.324  
  -0.407  -0.633  
  Target: 0.233, 7.4% better 
  Target: 0.351, 50.9% better 
  Target: 0.528, 50.6% better 
  Target: 0.580, 9.8% better 
  Target: 0.584, 0.7% better 
  Target: 0.591, 1.2% better 
  Target: 0.595, 0.6% better 
  Target: 0.608, 2.2% better 
  Target: 0.609, 0.2% better 
  Target: 0.610, 0.1% better 
  Target: 0.610, 0.1% better 
  No better bases found after 30 tries.  Giving up.
  Final projection: 
   0.300   0.407  
  -0.088  -0.784  
   0.597  -0.071  
  -0.549   0.429  
   0.495   0.176  
  
  Attaching package: 'ggplot2'
  
  The following objects are masked from 'package:spinifex':
  
      scale_colour_discrete, scale_fill_discrete
  
  Target: 0.641, 34.4% better 
  Target: 0.847, 32.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