Running ‘testthat.R’ [10s/12s]
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.9674877 0.2459833
  [2,] -0.2529181 0.9692741
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.2854304 
  
  
  probit :
  Reference normalized matrix:
       [,1] [,2]
  [1,]    1    0
  [2,]    0    1
  Estimated normalized matrix:
              [,1]        [,2]
  [1,]  0.99980486 -0.04287731
  [2,] -0.01975431  0.99908035
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.04379697 
  
  
  logit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.4224511 0.9436872
  [2,] -0.9063857 0.3308390
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.03672101 
  
  
  probit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.4783656 0.9543883
  [2,] -0.8781608 0.2985683
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.04741842 
  ── 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.154
  
  ── 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