Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [88s/104s]
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.754, 32.7% better 
  Target: 0.887, 17.7% better 
  Target: 0.978, 10.3% better 
  Target: 1.031, 5.4% better 
  Target: 1.042, 1.0% better 
  Target: 1.044, 0.2% better 
  No better bases found after 25 tries.  Giving up.
  Final projection: 
  -0.092   0.242  
   0.090  -0.685  
   0.602  -0.077  
   0.146  -0.620  
  -0.774  -0.285  
  Target: 0.797, 7.4% better 
  Target: 0.847, 6.4% better 
  Target: 1.014, 19.6% better 
  Target: 1.027, 1.3% better 
  Target: 1.032, 0.5% better 
  Target: 1.036, 0.4% better 
  Target: 1.037, 0.2% better 
  Target: 1.040, 0.3% better 
  Target: 1.042, 0.2% better 
  Target: 1.044, 0.1% better 
  No better bases found after 25 tries.  Giving up.
  Final projection: 
  -0.248  -0.073  
   0.638   0.001  
   0.114   0.613  
   0.689   0.107  
   0.208  -0.779  
  Target: 0.316, 6.4% better 
  Target: 0.337, 6.7% better 
  Target: 0.341, 1.3% better 
  Target: 0.350, 2.7% better 
  Target: 0.369, 5.3% better 
  Target: 0.379, 2.7% better 
  Target: 0.380, 0.3% better 
  Target: 0.383, 0.8% better 
  Target: 0.390, 1.8% better 
  Target: 0.391, 0.5% better 
  Target: 0.399, 2.0% better 
  Target: 0.413, 3.3% better 
  Target: 0.423, 2.6% better 
  Target: 0.468, 10.5% better 
  Target: 0.534, 14.0% better 
  Target: 0.627, 17.6% better 
  Target: 0.636, 1.3% better 
  Target: 0.671, 5.6% better 
  Target: 0.677, 0.8% better 
  Target: 0.701, 3.6% better 
  Target: 0.712, 1.6% better 
  Target: 0.733, 3.0% better 
  Target: 0.743, 1.3% better 
  Target: 0.745, 0.3% better 
  Target: 0.747, 0.2% better 
  Target: 0.748, 0.2% better 
  Target: 0.749, 0.1% better 
  No better bases found after 30 tries.  Giving up.
  Final projection: 
   0.212  -0.501  
  -0.342  -0.509  
  -0.624   0.392  
   0.617   0.445  
  -0.263   0.372  
  
  Attaching package: 'ggplot2'
  
  The following objects are masked from 'package:spinifex':
  
      scale_colour_discrete, scale_fill_discrete
  
  Target: 0.771, 22.2% better 
  Target: 0.922, 19.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