Running ‘testthat.R’ [7s/14s]
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.99655807 0.01725537
  [2,] -0.08289761 0.99985112
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.08633954 
  
  
  probit :
  Reference normalized matrix:
       [,1] [,2]
  [1,]    1    0
  [2,]    0    1
  Estimated normalized matrix:
              [,1]        [,2]
  [1,]  0.99968525 -0.01670128
  [2,] -0.02508774  0.99986052
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.02540249 
  
  
  logit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.4661865 0.9460783
  [2,] -0.8846865 0.3239380
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.02871365 
  
  
  probit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.4336890 0.9534049
  [2,] -0.9010626 0.3016937
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.02016004 
  ── 1. Failure: 'jedi' and 'uwedge' joint-diagonalization methods return a correc
  `x` is not strictly less than `expected`. Difference: 0.216
  
  ── 2. Failure: 'jedi' and 'uwedge' joint-diagonalization methods return a correc
  `x` is not strictly less than `expected`. Difference: 0.124
  
  ══ 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