Running 'testthat.R' [11s]
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.99603012 0.08441788
  [2,] 0.08901688 0.99643044
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.09298676 
  
  
  probit :
  Reference normalized matrix:
       [,1] [,2]
  [1,]    1    0
  [2,]    0    1
  Estimated normalized matrix:
              [,1]        [,2]
  [1,]  0.99990635 -0.02843835
  [2,] -0.01368544  0.99959555
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.0288428 
  
  
  logit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.4341798 0.9515694
  [2,] -0.9008262 0.3074341
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.01943286 
  
  
  probit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.4521922 0.9522733
  [2,] -0.8919205 0.3052466
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.01457116 
  -- 1. Failure: 'jedi' and 'uwedge' joint-diagonalization methods return a correc
  `x` is not strictly less than `expected`. Difference: 0.0459
  
  -- 2. Failure: 'jedi' and 'uwedge' joint-diagonalization methods return a correc
  `x` is not strictly less than `expected`. Difference: 0.67
  
  -- 3. Failure: 'jedi' and 'uwedge' joint-diagonalization methods return a correc
  `x` is not strictly less than `expected`. Difference: 0.464
  
  == testthat results  ===========================================================
  [ OK: 223 | SKIPPED: 0 | WARNINGS: 2 | FAILED: 3 ]
  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) 
  3. Failure: 'jedi' and 'uwedge' joint-diagonalization methods return a correct matrix (@test-jointDiag.R#46) 
  
  Error: testthat unit tests failed
  Execution halted