Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [80s/84s]
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: 1.038, 9.5% better 
  Target: 1.039, 0.1% better 
  Target: 1.042, 0.3% better 
  Target: 1.044, 0.1% better 
  No better bases found after 25 tries.  Giving up.
  Final projection: 
   0.094  -0.232  
  -0.017   0.715  
  -0.596   0.094  
  -0.103   0.623  
   0.790   0.195  
  Target: 0.955, 3.2% better 
  Target: 0.963, 0.8% better 
  Target: 0.985, 2.3% better 
  Target: 1.018, 3.4% better 
  Target: 1.026, 0.8% better 
  Target: 1.035, 0.9% better 
  Target: 1.039, 0.4% better 
  Target: 1.041, 0.1% 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.202  -0.042  
  -0.581   0.393  
  -0.439  -0.453  
  -0.566   0.349  
   0.329   0.719  
  Target: 0.503, 12.8% better 
  Target: 0.536, 6.5% better 
  Target: 0.550, 2.5% better 
  Target: 0.617, 12.2% better 
  Target: 0.661, 7.1% better 
  Target: 0.688, 4.1% better 
  Target: 0.705, 2.5% better 
  Target: 0.715, 1.3% better 
  Target: 0.725, 1.4% better 
  Target: 0.730, 0.7% better 
  Target: 0.739, 1.2% better 
  Target: 0.743, 0.6% better 
  Target: 0.745, 0.2% better 
  Target: 0.746, 0.1% better 
  Target: 0.747, 0.2% better 
  Target: 0.748, 0.1% better 
  Target: 0.749, 0.1% better 
  No better bases found after 30 tries.  Giving up.
  Final projection: 
   0.084  -0.534  
  -0.478  -0.430  
  -0.475   0.589  
   0.717   0.243  
  -0.158   0.352  
  
  Attaching package: 'ggplot2'
  
  The following objects are masked from 'package:spinifex':
  
      scale_colour_discrete, scale_fill_discrete
  
  Target: 0.911, 6.1% better 
  Target: 0.924, 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