Running ‘test-all.R’ [3s/3s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > test_check("rotations")
  Loading required package: rotations
  ── 1. Failure: (unknown) (@test_estimators.R#21)  ──────────────────────────────
  mean(Qs) not equal to as.Q4(mean(Rs)).
  Mean relative difference: 1.057216e-06
  
  ── 2. Failure: (unknown) (@test_estimators.R#22)  ──────────────────────────────
  mean(Qs, type = "geometric") not equal to as.Q4(mean(Rs, type = "geometric")).
  Mean relative difference: 6.751527e-07
  
  ── 3. Failure: (unknown) (@test_estimators.R#23)  ──────────────────────────────
  median(Qs) not equal to as.Q4(median(Rs)).
  Mean relative difference: 5.828633e-06
  
  ── 4. Failure: (unknown) (@test_estimators.R#24)  ──────────────────────────────
  median(Qs, type = "geometric") not equal to as.Q4(median(Rs, type = "geometric")).
  Mean relative difference: 2.051162e-06
  
  ── 5. Failure: (unknown) (@test_estimators.R#26)  ──────────────────────────────
  as.SO3(matrix(as.SO3(mean(Qs)), 3, 3)) not equal to mean(Rs).
  Mean relative difference: 1.592062e-06
  
  ── 6. Failure: (unknown) (@test_estimators.R#27)  ──────────────────────────────
  as.SO3(matrix(as.SO3(mean(Qs, type = "geometric")), 3, 3)) not equal to mean(Rs, type = "geometric").
  Mean relative difference: 1.120377e-06
  
  ── 7. Failure: (unknown) (@test_estimators.R#28)  ──────────────────────────────
  as.SO3(matrix(as.SO3(median(Qs)), 3, 3)) not equal to median(Rs).
  Mean relative difference: 7.931463e-06
  
  ── 8. Failure: (unknown) (@test_estimators.R#29)  ──────────────────────────────
  as.SO3(matrix(as.SO3(median(Qs, type = "geometric")), 3, 3)) not equal to median(Rs, type = "geometric").
  Mean relative difference: 2.883047e-06
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 45 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 8 ]
  1. Failure: (unknown) (@test_estimators.R#21) 
  2. Failure: (unknown) (@test_estimators.R#22) 
  3. Failure: (unknown) (@test_estimators.R#23) 
  4. Failure: (unknown) (@test_estimators.R#24) 
  5. Failure: (unknown) (@test_estimators.R#26) 
  6. Failure: (unknown) (@test_estimators.R#27) 
  7. Failure: (unknown) (@test_estimators.R#28) 
  8. Failure: (unknown) (@test_estimators.R#29) 
  
  Error: testthat unit tests failed
  Execution halted