Running ‘testthat.R’ [7s/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.99816115 0.05410329
  [2,] 0.06061622 0.99853534
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.06245507 
  
  
  probit :
  Reference normalized matrix:
       [,1] [,2]
  [1,]    1    0
  [2,]    0    1
  Estimated normalized matrix:
             [,1]       [,2]
  [1,] 0.99868721 0.04827931
  [2,] 0.05122369 0.99883387
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.05253648 
  
  
  logit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.4642764 0.9419400
  [2,] -0.8856904 0.3357812
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.02629678 
  
  
  probit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.3945129 0.9522265
  [2,] -0.9188904 0.3053928
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.07716391 
  ── 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.3
  
  ── 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