Running 'testthat.R'
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.9717658 -0.1136895
  [2,] 0.2359476  0.9935163
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.2641818 
  
  
  probit :
  Reference normalized matrix:
       [,1] [,2]
  [1,]    1    0
  [2,]    0    1
  Estimated normalized matrix:
             [,1]       [,2]
  [1,] 0.99975435 0.02128565
  [2,] 0.02216392 0.99977343
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.02240957 
  
  
  logit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.4043379 0.9536411
  [2,] -0.9146097 0.3009464
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.06305813 
  
  
  probit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.4687909 0.9458024
  [2,] -0.8833092 0.3247428
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.03269525 
  ══ 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.425
  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 1 | WARN 2 | SKIP 0 | PASS 225 ]
  Error: Test failures
  Execution halted