Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [131s/164s]
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.845, 3.3% better 
  Target: 0.953, 12.8% better 
  Target: 0.954, 0.1% better 
  Target: 0.955, 0.1% better 
  No better bases found after 25 tries.  Giving up.
  Final projection: 
  -0.226   0.925  
   0.722   0.192  
  -0.221   0.249  
   0.553   0.160  
   0.268   0.139  
  Target: 0.916, 19.4% better 
  Target: 1.002, 9.5% better 
  Target: 1.022, 2.0% better 
  Target: 1.031, 0.9% better 
  Target: 1.038, 0.6% better 
  Target: 1.042, 0.4% better 
  Target: 1.043, 0.2% better 
  No better bases found after 25 tries.  Giving up.
  Final projection: 
  -0.217  -0.010  
   0.625  -0.373  
   0.397   0.473  
   0.587  -0.245  
  -0.246  -0.759  
  Target: 0.250, 62.9% better 
  Target: 0.352, 40.9% better 
  Target: 0.366, 4.1% better 
  Target: 0.371, 1.2% better 
  Target: 0.372, 0.5% better 
  Target: 0.374, 0.5% better 
  Target: 0.376, 0.5% better 
  Target: 0.377, 0.4% better 
  Target: 0.378, 0.2% better 
  Target: 0.381, 0.6% better 
  Target: 0.428, 12.5% better 
  Target: 0.676, 58.0% better 
  Target: 0.693, 2.4% better 
  Target: 0.697, 0.6% better 
  Target: 0.712, 2.2% better 
  Target: 0.731, 2.6% better 
  Target: 0.739, 1.2% better 
  Target: 0.742, 0.4% better 
  Target: 0.744, 0.2% better 
  Target: 0.746, 0.2% better 
  Target: 0.748, 0.3% better 
  Target: 0.749, 0.1% better 
  Target: 0.749, 0.1% better 
  No better bases found after 30 tries.  Giving up.
  Final projection: 
   0.345   0.420  
   0.634  -0.076  
  -0.094  -0.736  
  -0.663   0.353  
  -0.174  -0.390  
  
  Attaching package: 'ggplot2'
  
  The following objects are masked from 'package:spinifex':
  
      scale_colour_discrete, scale_fill_discrete
  
  Target: 0.851, 16.6% better 
  Target: 0.915, 7.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