Running 'testthat.R' [10s/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.99765887 0.002065465
  [2,] 0.06838694 0.999997867
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.07072807 
  
  
  probit :
  Reference normalized matrix:
       [,1] [,2]
  [1,]    1    0
  [2,]    0    1
  Estimated normalized matrix:
              [,1]       [,2]
  [1,] 0.999989399 0.03770196
  [2,] 0.004604557 0.99928903
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.03841293 
  
  
  logit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.4105869 0.9628247
  [2,] -0.9118215 0.2701272
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.06024194 
  
  
  probit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.4514617 0.9588117
  [2,] -0.8922905 0.2840424
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.04231373 
  -- Warning (test-jointDiag.R:46:5): 'jedi' and 'uwedge' joint-diagonalization me
  Convergence not reached
  
  -- FAILURE (test-jointDiag.R:46:5): 'jedi' and 'uwedge' joint-diagonalization me
  `x` is not strictly less than `expected`. Difference: 0.424
  
  -- Warning (test-jointDiag.R:46:5): 'jedi' and 'uwedge' joint-diagonalization me
  Convergence not reached
  
  == testthat results  ===========================================================
  Warning (test-jointDiag.R:46:5): 'jedi' and 'uwedge' joint-diagonalization methods return a correct matrix
  FAILURE (test-jointDiag.R:46:5): 'jedi' and 'uwedge' joint-diagonalization methods return a correct matrix
  Warning (test-jointDiag.R:46:5): 'jedi' and 'uwedge' joint-diagonalization methods return a correct matrix
  
  [ FAIL 1 | WARN 2 | SKIP 0 | PASS 225 ]
  Error: Test failures
  Execution halted