Running 'testthat.R' [11s/13s]
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.9902269 -0.1197465
  [2,] -0.1394658  0.9928045
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.1492389 
  
  
  probit :
  Reference normalized matrix:
       [,1] [,2]
  [1,]    1    0
  [2,]    0    1
  Estimated normalized matrix:
             [,1]        [,2]
  [1,] 0.99993890 -0.04146169
  [2,] 0.01105394  0.99914009
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.0423216 
  
  
  logit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.4285433 0.9477036
  [2,] -0.9035213 0.3191518
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.02776441 
  
  
  probit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.4218612 0.9460346
  [2,] -0.9066604 0.3240656
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.03758559 
  -- 1. Failure: 'jedi' and 'uwedge' joint-diagonalization methods return a correc
  `x` is not strictly less than `expected`. Difference: 0.0842
  
  -- 2. Failure: 'jedi' and 'uwedge' joint-diagonalization methods return a correc
  `x` is not strictly less than `expected`. Difference: 0.59
  
  == 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