Running 'testthat.R' [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.9936851 -0.002933843
  [2,] -0.1122050  0.999995696
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.1185199 
  
  
  probit :
  Reference normalized matrix:
       [,1] [,2]
  [1,]    1    0
  [2,]    0    1
  Estimated normalized matrix:
              [,1]       [,2]
  [1,]  0.99877815 0.02311146
  [2,] -0.04941864 0.99973289
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.05064048 
  
  
  logit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.4172719 0.9362288
  [2,] -0.9087817 0.3513911
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.04761783 
  
  
  probit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.4859347 0.9393951
  [2,] -0.8739951 0.3428363
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.05915319 
  -- 1. Failure: 'jedi' and 'uwedge' joint-diagonalization methods return a correc
  `x` is not strictly less than `expected`. Difference: 2.2
  
  -- 2. Failure: 'jedi' and 'uwedge' joint-diagonalization methods return a correc
  `x` is not strictly less than `expected`. Difference: 3.17
  
  == testthat results  ===========================================================
  [ OK: 224 | SKIPPED: 0 | WARNINGS: 2 | FAILED: 2 ]
  1. Failure: 'jedi' and 'uwedge' joint-diagonalization methods return a correct matrix (@test-jointDiag.R#46) 
  2. Failure: 'jedi' and 'uwedge' joint-diagonalization methods return a correct matrix (@test-jointDiag.R#46) 
  
  Error: testthat unit tests failed
  Execution halted