Running ‘spelling.R’
  Running ‘testthat.R’ [211s/428s]
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.929, 16.3% better 
  Target: 0.954, 2.6% better 
  Target: 0.990, 3.8% better 
  Target: 0.992, 0.2% better 
  Target: 0.994, 0.2% better 
  Target: 0.995, 0.2% better 
  Target: 0.997, 0.1% better 
  No better bases found after 25 tries.  Giving up.
  Final projection: 
   0.639  -0.510  
   0.153   0.158  
  -0.044  -0.721  
   0.235  -0.134  
   0.715   0.421  
  Target: 0.899, 8.9% better 
  Target: 0.926, 3.0% better 
  Target: 0.951, 2.8% better 
  Target: 0.978, 2.8% better 
  Target: 0.989, 1.1% better 
  Target: 0.995, 0.6% better 
  Target: 0.996, 0.1% better 
  No better bases found after 25 tries.  Giving up.
  Final projection: 
  -0.812   0.138  
   0.022   0.180  
  -0.499  -0.543  
  -0.244   0.079  
  -0.179   0.804  
  Target: 0.281, 38.7% better 
  Target: 0.458, 63.1% better 
  Target: 0.588, 28.5% better 
  Target: 0.641, 9.1% better 
  Target: 0.701, 9.3% better 
  Target: 0.709, 1.1% better 
  Target: 0.722, 1.9% better 
  Target: 0.731, 1.3% better 
  Target: 0.738, 0.9% better 
  Target: 0.740, 0.3% better 
  Target: 0.742, 0.3% better 
  Target: 0.746, 0.5% better 
  Target: 0.748, 0.3% better 
  Target: 0.749, 0.1% better 
  No better bases found after 30 tries.  Giving up.
  Final projection: 
   0.278   0.471  
  -0.276   0.544  
  -0.659  -0.313  
   0.553  -0.529  
  -0.326  -0.324  
  
  Attaching package: 'ggplot2'
  
  The following objects are masked from 'package:spinifex':
  
      scale_colour_discrete, scale_fill_discrete
  
  Target: 0.914, 16.7% better 
  Target: 0.930, 1.8% 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