Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [81s/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: 0.903, 4.7% better 
  Target: 0.987, 9.3% better 
  Target: 1.005, 1.8% better 
  Target: 1.027, 2.2% better 
  Target: 1.032, 0.5% better 
  Target: 1.033, 0.1% better 
  Target: 1.036, 0.3% better 
  Target: 1.038, 0.2% better 
  Target: 1.041, 0.3% 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.206  -0.183  
   0.444   0.523  
   0.529  -0.375  
   0.526   0.400  
  -0.450   0.626  
  Target: 0.912, 4.5% better 
  Target: 0.942, 3.3% better 
  Target: 0.955, 1.4% better 
  Target: 0.971, 1.7% better 
  Target: 0.985, 1.4% better 
  Target: 0.989, 0.5% better 
  Target: 0.991, 0.2% better 
  Target: 0.993, 0.2% better 
  Target: 0.994, 0.1% better 
  Target: 0.996, 0.1% better 
  Target: 0.997, 0.1% better 
  No better bases found after 25 tries.  Giving up.
  Final projection: 
  -0.532  -0.659  
   0.130  -0.176  
  -0.696   0.068  
  -0.129  -0.223  
   0.446  -0.694  
  Target: 0.383, 132.5% better 
  Target: 0.401, 4.7% better 
  Target: 0.658, 64.1% better 
  Target: 0.697, 6.0% better 
  Target: 0.700, 0.4% better 
  Target: 0.704, 0.6% better 
  Target: 0.715, 1.5% better 
  Target: 0.719, 0.6% better 
  Target: 0.721, 0.4% better 
  Target: 0.726, 0.6% better 
  Target: 0.727, 0.2% better 
  Target: 0.732, 0.7% better 
  Target: 0.735, 0.4% better 
  Target: 0.737, 0.3% better 
  Target: 0.739, 0.2% better 
  Target: 0.744, 0.6% better 
  Target: 0.745, 0.2% better 
  Target: 0.747, 0.3% better 
  Target: 0.749, 0.2% better 
  Target: 0.749, 0.1% better 
  No better bases found after 30 tries.  Giving up.
  Final projection: 
   0.501   0.212  
   0.524  -0.362  
  -0.427  -0.608  
  -0.424   0.622  
  -0.335  -0.261  
  
  Attaching package: 'ggplot2'
  
  The following objects are masked from 'package:spinifex':
  
      scale_colour_discrete, scale_fill_discrete
  
  Target: 0.774, 8.7% better 
  Target: 0.878, 13.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