Running 'testthat.R' [10s]
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.9918974 0.05452265
  [2,] 0.1270413 0.99851253
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.1351438 
  
  
  probit :
  Reference normalized matrix:
       [,1] [,2]
  [1,]    1    0
  [2,]    0    1
  Estimated normalized matrix:
             [,1]        [,2]
  [1,] 0.99992388 -0.03721676
  [2,] 0.01233795  0.99930722
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.03790954 
  
  
  logit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.4565654 0.9439406
  [2,] -0.8896898 0.3301152
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.0186301 
  
  
  probit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.4994958 0.9345318
  [2,] -0.8663163 0.3558795
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.08039311 
  -- 1. Failure: 'jedi' and 'uwedge' joint-diagonalization methods return a correc
  `x` is not strictly less than `expected`. Difference: 0.429
  
  -- 2. Failure: 'jedi' and 'uwedge' joint-diagonalization methods return a correc
  `x` is not strictly less than `expected`. Difference: 0.437
  
  == 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