Running ‘spelling.R’
  Running ‘testthat.R’ [198s/410s]
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.702, 47.5% better 
  Target: 0.865, 23.1% better 
  Target: 0.913, 5.6% better 
  Target: 0.952, 4.3% better 
  Target: 0.973, 2.2% better 
  Target: 0.988, 1.6% better 
  Target: 1.010, 2.2% better 
  Target: 1.025, 1.4% better 
  Target: 1.028, 0.3% better 
  Target: 1.039, 1.1% better 
  Target: 1.043, 0.4% better 
  No better bases found after 25 tries.  Giving up.
  Final projection: 
  -0.078   0.247  
   0.294  -0.602  
  -0.527  -0.326  
   0.128  -0.671  
   0.783   0.142  
  Target: 1.002, 14.4% better 
  Target: 1.036, 3.4% better 
  Target: 1.038, 0.2% better 
  Target: 1.041, 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.250   0.158  
   0.595  -0.300  
  -0.218  -0.614  
   0.514  -0.421  
   0.522   0.576  
  Target: 0.568, 145.8% better 
  Target: 0.613, 7.9% better 
  Target: 0.691, 12.7% better 
  Target: 0.699, 1.2% better 
  Target: 0.726, 3.8% better 
  Target: 0.730, 0.5% better 
  Target: 0.744, 1.9% better 
  Target: 0.748, 0.5% 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.507   0.195  
   0.513  -0.367  
  -0.422  -0.616  
  -0.427   0.614  
  -0.345  -0.266  
  
  Attaching package: 'ggplot2'
  
  The following objects are masked from 'package:spinifex':
  
      scale_colour_discrete, scale_fill_discrete
  
  Target: 0.859, 23.0% better 
  Target: 0.896, 4.3% 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