Running ‘test-all.R’ [2s/3s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > test_check("rotations")
  Loading required package: rotations
  ── FAILURE (test_estimators.R:21:1): (code run outside of `test_that()`) ───────
  mean(Qs) not equal to as.Q4(mean(Rs)).
  Mean relative difference: 5.384946e-07
  
  ── FAILURE (test_estimators.R:22:1): (code run outside of `test_that()`) ───────
  mean(Qs, type = "geometric") not equal to as.Q4(mean(Rs, type = "geometric")).
  Mean relative difference: 4.107945e-07
  
  ── FAILURE (test_estimators.R:23:1): (code run outside of `test_that()`) ───────
  median(Qs) not equal to as.Q4(median(Rs)).
  Mean relative difference: 2.935541e-06
  
  ── FAILURE (test_estimators.R:24:1): (code run outside of `test_that()`) ───────
  median(Qs, type = "geometric") not equal to as.Q4(median(Rs, type = "geometric")).
  Mean relative difference: 2.373146e-06
  
  ── FAILURE (test_estimators.R:26:1): (code run outside of `test_that()`) ───────
  as.SO3(matrix(as.SO3(mean(Qs)), 3, 3)) not equal to mean(Rs).
  Mean relative difference: 7.083182e-07
  
  ── FAILURE (test_estimators.R:27:1): (code run outside of `test_that()`) ───────
  as.SO3(matrix(as.SO3(mean(Qs, type = "geometric")), 3, 3)) not equal to mean(Rs, type = "geometric").
  Mean relative difference: 5.416231e-07
  
  ── FAILURE (test_estimators.R:28:1): (code run outside of `test_that()`) ───────
  as.SO3(matrix(as.SO3(median(Qs)), 3, 3)) not equal to median(Rs).
  Mean relative difference: 3.913916e-06
  
  ── FAILURE (test_estimators.R:29:1): (code run outside of `test_that()`) ───────
  as.SO3(matrix(as.SO3(median(Qs, type = "geometric")), 3, 3)) not equal to median(Rs, type = "geometric").
  Mean relative difference: 3.170465e-06
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  FAILURE (test_estimators.R:21:1): (code run outside of `test_that()`)
  FAILURE (test_estimators.R:22:1): (code run outside of `test_that()`)
  FAILURE (test_estimators.R:23:1): (code run outside of `test_that()`)
  FAILURE (test_estimators.R:24:1): (code run outside of `test_that()`)
  FAILURE (test_estimators.R:26:1): (code run outside of `test_that()`)
  FAILURE (test_estimators.R:27:1): (code run outside of `test_that()`)
  FAILURE (test_estimators.R:28:1): (code run outside of `test_that()`)
  FAILURE (test_estimators.R:29:1): (code run outside of `test_that()`)
  
  [ FAIL 8 | WARN 0 | SKIP 0 | PASS 45 ]
  Error: Test failures
  Execution halted