Running 'testthat.R' [8s]
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.9645972 -0.1433538
  [2,] -0.2637277  0.9896715
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.2991305 
  
  
  probit :
  Reference normalized matrix:
       [,1] [,2]
  [1,]    1    0
  [2,]    0    1
  Estimated normalized matrix:
              [,1]        [,2]
  [1,]  0.99990368 -0.01623479
  [2,] -0.01387937  0.99986821
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.01636658 
  
  
  logit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.4404263 0.9436344
  [2,] -0.8977888 0.3309897
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.01981092 
  
  
  probit :
  Reference normalized matrix:
             [,1]      [,2]
  [1,]  0.4472136 0.9486833
  [2,] -0.8944272 0.3162278
  Estimated normalized matrix:
             [,1]      [,2]
  [1,]  0.4712146 0.9519286
  [2,] -0.8820186 0.3063199
  Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
  0.03640964 
  == 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: 1.1
  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)
  -- 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.0802
  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)
  -- 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.336
  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)
  -- 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.132
  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)
  -- Failure (test-jointDiag.R:46:5): 'jedi' and 'uwedge' joint-diagonalization methods return a correct matrix --
  `x` is not strictly less than `expected`. Difference: 1.76
  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 5 | WARN 3 | SKIP 0 | PASS 221 ]
  Error: Test failures
  Execution halted