Running ‘testthat.R’ [7s/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.9807585 -0.1290868
  [2,] -0.1952249  0.9916333
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.2144664 
  
  
  probit :
  Reference normalized matrix:
       [,1] [,2]
  [1,]    1    0
  [2,]    0    1
  Estimated normalized matrix:
             [,1]        [,2]
  [1,] 0.99637483 -0.05927387
  [2,] 0.08507173  0.99824176
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.0886969 
  
  
  logit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.4436105 0.9459604
  [2,] -0.8962197 0.3242823
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.01077748 
  
  
  probit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.4320593 0.9562313
  [2,] -0.9018452 0.2926117
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.03116411 
  ── FAILURE (test-jointDiag.R:46:5): 'jedi' and 'uwedge' joint-diagonalization me
  `x` is not strictly less than `expected`. Difference: 2.29
  
  ── Warning (test-jointDiag.R:46:5): 'jedi' and 'uwedge' joint-diagonalization me
  Convergence not reached
  
  ── Warning (test-jointDiag.R:46:5): 'jedi' and 'uwedge' joint-diagonalization me
  Convergence not reached
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  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
  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