Running 'testthat.R' [10s/12s]
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.99890748 0.03851579
  [2,] -0.04673162 0.99925799
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.04782414 
  
  
  probit :
  Reference normalized matrix:
       [,1] [,2]
  [1,]    1    0
  [2,]    0    1
  Estimated normalized matrix:
             [,1]        [,2]
  [1,] 0.99994025 -0.02222281
  [2,] 0.01093157  0.99975304
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.02246977 
  
  
  logit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.4890092 0.9394943
  [2,] -0.8722786 0.3425646
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.06394419 
  
  
  probit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.4664544 0.9423894
  [2,] -0.8845452 0.3345180
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.02912274 
  == 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.337
  Backtrace:
      x
   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 3 | SKIP 0 | PASS 225 ]
  Error: Test failures
  Execution halted