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.99641946 0.03230037
  [2,] 0.08454743 0.99947821
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.08812797 
  
  
  probit :
  Reference normalized matrix:
       [,1] [,2]
  [1,]    1    0
  [2,]    0    1
  Estimated normalized matrix:
             [,1]       [,2]
  [1,] 0.99888790 0.03731687
  [2,] 0.04714827 0.99930348
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.04826037 
  
  
  logit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.4881991 0.9439970
  [2,] -0.8727323 0.3299539
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.06268035 
  
  
  probit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.4651484 0.9444192
  [2,] -0.8852327 0.3287436
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.02712934 
  == Failed tests ================================================================
  -- Failure (test-jointDiag.R:46:5): 'jedi' and 'uwedge' joint-diagonalization methods return a correct matrix --
  `x` is not strictly less than `expected`. Difference: 0.859
  Backtrace:
      x
   1. \-morpheus:::.computeMuCheckDiag(...) test-jointDiag.R:46:4
   2.   \-testthat::expect_that(...) test-jointDiag.R:27:4
   3.     \-testthat:::condition(object)
   4.       \-testthat::expect_lt(x, expected)
  
  [ FAIL 1 | WARN 2 | SKIP 0 | PASS 225 ]
  Error: Test failures
  Execution halted