Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [125s/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.926, 9.3% better 
  Target: 0.954, 3.1% better 
  Target: 1.001, 4.9% better 
  Target: 1.015, 1.4% better 
  Target: 1.026, 1.1% better 
  Target: 1.036, 0.9% better 
  Target: 1.041, 0.5% better 
  Target: 1.044, 0.3% better 
  No better bases found after 25 tries.  Giving up.
  Final projection: 
   0.245   0.088  
  -0.694   0.070  
  -0.158  -0.587  
  -0.647  -0.044  
  -0.118   0.800  
  Target: 0.903, 5.5% better 
  Target: 0.938, 3.8% better 
  Target: 0.958, 2.1% better 
  Target: 0.977, 2.0% better 
  Target: 0.999, 2.2% better 
  Target: 1.020, 2.1% better 
  Target: 1.031, 1.1% better 
  Target: 1.036, 0.5% better 
  Target: 1.039, 0.3% better 
  Target: 1.041, 0.2% 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.074  -0.279  
  -0.131   0.651  
  -0.637  -0.000  
  -0.193   0.633  
   0.731   0.312  
  Target: 0.612, 7.3% better 
  Target: 0.708, 15.6% better 
  Target: 0.729, 3.0% better 
  Target: 0.741, 1.6% better 
  Target: 0.744, 0.4% better 
  Target: 0.746, 0.3% better 
  Target: 0.748, 0.2% better 
  Target: 0.749, 0.2% better 
  No better bases found after 30 tries.  Giving up.
  Final projection: 
   0.503   0.253  
   0.557  -0.312  
  -0.372  -0.640  
  -0.452   0.600  
  -0.305  -0.262  
  
  Attaching package: 'ggplot2'
  
  The following objects are masked from 'package:spinifex':
  
      scale_colour_discrete, scale_fill_discrete
  
  Target: 0.641, 19.0% better 
  Target: 0.825, 28.6% 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