Running ‘testthat.R’ [10s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > 
  > # Locally:
  > #library(devtools)
  > #load_all("../")
  > 
  > # With R CMD check:
  > library(morpheus)
  > 
  > test_check("morpheus")
  
  
  logit :
  Reference normalized matrix:
       [,1] [,2]
  [1,]    1    0
  [2,]    0    1
  Estimated normalized matrix:
             [,1]       [,2]
  [1,] 0.99742189 -0.2329175
  [2,] 0.07176059  0.9724965
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.260421 
  
  
  probit :
  Reference normalized matrix:
       [,1] [,2]
  [1,]    1    0
  [2,]    0    1
  Estimated normalized matrix:
              [,1]        [,2]
  [1,]  0.99571576 -0.07997695
  [2,] -0.09246683  0.99679671
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.09675107 
  
  
  logit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.4052753 0.9279091
  [2,] -0.9141947 0.3728065
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.07735295 
  
  
  probit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.4316403 0.9465590
  [2,] -0.9020458 0.3225308
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.02319192 
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-jointDiag.R:46:5): 'jedi' and 'uwedge' joint-diagonalization methods return a correct matrix ──
  `x` is not strictly less than `expected`. Difference: 0.0214
  Backtrace:
      █
   1. └─morpheus:::.computeMuCheckDiag(...) test-jointDiag.R:46:4
   2.   └─testthat::expect_that(...) test-jointDiag.R:27:4
   3.     └─testthat:::condition(object)
   4.       └─testthat::expect_lt(x, expected)
  ── Failure (test-jointDiag.R:46:5): 'jedi' and 'uwedge' joint-diagonalization methods return a correct matrix ──
  `x` is not strictly less than `expected`. Difference: 0.186
  Backtrace:
      █
   1. └─morpheus:::.computeMuCheckDiag(...) test-jointDiag.R:46:4
   2.   └─testthat::expect_that(...) test-jointDiag.R:27:4
   3.     └─testthat:::condition(object)
   4.       └─testthat::expect_lt(x, expected)
  ── Failure (test-jointDiag.R:46:5): 'jedi' and 'uwedge' joint-diagonalization methods return a correct matrix ──
  `x` is not strictly less than `expected`. Difference: 0.865
  Backtrace:
      █
   1. └─morpheus:::.computeMuCheckDiag(...) test-jointDiag.R:46:4
   2.   └─testthat::expect_that(...) test-jointDiag.R:27:4
   3.     └─testthat:::condition(object)
   4.       └─testthat::expect_lt(x, expected)
  ── Failure (test-jointDiag.R:46:5): 'jedi' and 'uwedge' joint-diagonalization methods return a correct matrix ──
  `x` is not strictly less than `expected`. Difference: 1.46
  Backtrace:
      █
   1. └─morpheus:::.computeMuCheckDiag(...) test-jointDiag.R:46:4
   2.   └─testthat::expect_that(...) test-jointDiag.R:27:4
   3.     └─testthat:::condition(object)
   4.       └─testthat::expect_lt(x, expected)
  ── Failure (test-jointDiag.R:46:5): 'jedi' and 'uwedge' joint-diagonalization methods return a correct matrix ──
  `x` is not strictly less than `expected`. Difference: 0.0473
  Backtrace:
      █
   1. └─morpheus:::.computeMuCheckDiag(...) test-jointDiag.R:46:4
   2.   └─testthat::expect_that(...) test-jointDiag.R:27:4
   3.     └─testthat:::condition(object)
   4.       └─testthat::expect_lt(x, expected)
  ── Failure (test-jointDiag.R:46:5): 'jedi' and 'uwedge' joint-diagonalization methods return a correct matrix ──
  `x` is not strictly less than `expected`. Difference: 1.03
  Backtrace:
      █
   1. └─morpheus:::.computeMuCheckDiag(...) test-jointDiag.R:46:4
   2.   └─testthat::expect_that(...) test-jointDiag.R:27:4
   3.     └─testthat:::condition(object)
   4.       └─testthat::expect_lt(x, expected)
  
  [ FAIL 6 | WARN 2 | SKIP 0 | PASS 220 ]
  Error: Test failures
  Execution halted