Running 'test-all.R' [3s]
Running the tests in 'tests/test-all.R' failed.
Complete output:
  > library(testthat)
  > test_check("rotations")
  Loading required package: rotations
  Saving _problems/test_estimators-21.R
  Saving _problems/test_estimators-22.R
  Saving _problems/test_estimators-23.R
  Saving _problems/test_estimators-24.R
  Saving _problems/test_estimators-26.R
  Saving _problems/test_estimators-27.R
  Saving _problems/test_estimators-28.R
  Saving _problems/test_estimators-29.R
  [ FAIL 8 | WARN 0 | SKIP 0 | PASS 44 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_estimators.R:21:1'): (code run outside of `test_that()`) ─────
  Expected `mean(Qs)` to equal `as.Q4(mean(Rs))`.
  Differences:
  Mean relative difference: 5.218084e-07
  ── Failure ('test_estimators.R:22:1'): (code run outside of `test_that()`) ─────
  Expected `mean(Qs, type = "geometric")` to equal `as.Q4(mean(Rs, type = "geometric"))`.
  Differences:
  Mean relative difference: 3.348624e-07
  ── Failure ('test_estimators.R:23:1'): (code run outside of `test_that()`) ─────
  Expected `median(Qs)` to equal `as.Q4(median(Rs))`.
  Differences:
  Mean relative difference: 3.721537e-07
  ── Failure ('test_estimators.R:24:1'): (code run outside of `test_that()`) ─────
  Expected `median(Qs, type = "geometric")` to equal `as.Q4(median(Rs, type = "geometric"))`.
  Differences:
  Mean relative difference: 1.006806e-06
  ── Failure ('test_estimators.R:26:1'): (code run outside of `test_that()`) ─────
  Expected `as.SO3(matrix(as.SO3(mean(Qs)), 3, 3))` to equal `mean(Rs)`.
  Differences:
  Mean relative difference: 6.942713e-07
  ── Failure ('test_estimators.R:27:1'): (code run outside of `test_that()`) ─────
  Expected `as.SO3(matrix(as.SO3(mean(Qs, type = "geometric")), 3, 3))` to equal `mean(Rs, type = "geometric")`.
  Differences:
  Mean relative difference: 4.325217e-07
  ── Failure ('test_estimators.R:28:1'): (code run outside of `test_that()`) ─────
  Expected `as.SO3(matrix(as.SO3(median(Qs)), 3, 3))` to equal `median(Rs)`.
  Differences:
  Mean relative difference: 4.958146e-07
  ── Failure ('test_estimators.R:29:1'): (code run outside of `test_that()`) ─────
  Expected `as.SO3(matrix(as.SO3(median(Qs, type = "geometric")), 3, 3))` to equal `median(Rs, type = "geometric")`.
  Differences:
  Mean relative difference: 1.332558e-06
  
  [ FAIL 8 | WARN 0 | SKIP 0 | PASS 44 ]
  Error:
  ! Test failures.
  Execution halted