Running 'spelling.R' [0s]
  Running 'testthat.R' [30s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(spinifex)
  Loading required package: tourr
  --------------------------------------------------------
  spinifex --- version 0.3.10
  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.857, 36.4% better 
  Target: 0.945, 10.2% better 
  Target: 0.980, 3.8% better 
  Target: 1.027, 4.8% better 
  Target: 1.032, 0.5% better 
  Target: 1.036, 0.3% better 
  Target: 1.038, 0.2% better 
  Target: 1.044, 0.6% better 
  No better bases found after 25 tries.  Giving up.
  Final projection: 
   0.242  -0.102  
  -0.590   0.343  
  -0.401  -0.544  
  -0.622   0.233  
   0.213   0.723  
  Target: 0.853, 6.4% better 
  Target: 0.911, 6.8% better 
  Target: 0.935, 2.6% better 
  Target: 0.980, 4.9% better 
  Target: 0.994, 1.4% better 
  Target: 1.000, 0.6% better 
  Target: 1.017, 1.7% better 
  Target: 1.022, 0.5% better 
  Target: 1.037, 1.4% better 
  Target: 1.038, 0.1% better 
  Target: 1.043, 0.4% better 
  Target: 1.044, 0.1% better 
  No better bases found after 25 tries.  Giving up.
  Final projection: 
  -0.245  -0.043  
   0.609   0.327  
   0.382  -0.492  
   0.626   0.185  
  -0.176   0.784  
  Target: 0.601, 5.3% better 
  Target: 0.624, 3.9% better 
  Target: 0.656, 5.0% better 
  Target: 0.705, 7.5% better 
  Target: 0.726, 3.0% better 
  Target: 0.735, 1.2% better 
  Target: 0.747, 1.6% better 
  Target: 0.747, 0.1% 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.133  -0.531  
   0.439  -0.455  
   0.536   0.512  
  -0.678   0.328  
   0.204   0.376  
  
  Attaching package: 'ggplot2'
  
  The following objects are masked from 'package:spinifex':
  
      scale_colour_discrete, scale_fill_discrete
  
  Loading required namespace: gganimate
  Loading required namespace: plotly
  [ FAIL 2 | WARN 2 | SKIP 0 | PASS 76 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-2_ggproto_visualize.r:22:1'): (code run outside of `test_that()`) ──
  Error in `.subset(x, i, j, k, drop = FALSE)`: incorrect number of dimensions
  Backtrace:
       ▆
    1. └─spinifex::ggtour(gt, angle = 1L) at test-2_ggproto_visualize.r:22:1
    2.   ├─utils::capture.output(...)
    3.   │ └─base::withVisible(...elt(i))
    4.   └─tourr::interpolate(basis_array, angle)
    5.     ├─tourr::new_tour(basis_set[, , 1], planned_tour(basis_set, cycle))
    6.     │ └─base::stopifnot(inherits(tour_path, "tour_path"))
    7.     └─tourr::planned_tour(basis_set, cycle)
    8.       ├─base::as.list(basis_set)
    9.       └─tourr:::as.list.history_array(basis_set)
   10.         ├─base::do.call("c", apply(x, 3, list))
   11.         └─base::apply(x, 3, list)
   12.           ├─base::array(newX[, i], d.call, dn.call)
   13.           ├─newX[, i]
   14.           └─tourr:::`[.history_array`(newX, , i)
  ── Error ('test-zDepricated_3_visualize.r:17:1'): (code run outside of `test_that()`) ──
  Error in `.subset(x, i, j, k, drop = FALSE)`: incorrect number of dimensions
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-zDepricated_3_visualize.r:17:1
    2. │ └─base::withCallingHandlers(...)
    3. └─spinifex::play_tour_path(tour_path = tpath, data = dat_std, angle = 1)
    4.   ├─utils::capture.output(...)
    5.   │ └─base::withVisible(...elt(i))
    6.   └─tourr::interpolate(basis_set = tour_path, angle = angle)
    7.     ├─tourr::new_tour(basis_set[, , 1], planned_tour(basis_set, cycle))
    8.     │ └─base::stopifnot(inherits(tour_path, "tour_path"))
    9.     └─tourr::planned_tour(basis_set, cycle)
   10.       ├─base::as.list(basis_set)
   11.       └─tourr:::as.list.history_array(basis_set)
   12.         ├─base::do.call("c", apply(x, 3, list))
   13.         └─base::apply(x, 3, list)
   14.           ├─base::array(newX[, i], d.call, dn.call)
   15.           ├─newX[, i]
   16.           └─tourr:::`[.history_array`(newX, , i)
  
  [ FAIL 2 | WARN 2 | SKIP 0 | PASS 76 ]
  Error:
  ! Test failures.
  Execution halted