Running ‘testthat.R’ [7s/12s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(LUCIDus)
  > 
  > test_check("LUCIDus")
  test1 - seed = 402 
  test2 - seed = 202 
  test3 - seed = 1304 
  test4 - seed = 1960 
  test4 - seed = 1832 
  test1 - seed = 798 
  test2 - seed = 547 
  Error in solve.default(new.mu.sigma$sigma[, , x]) : 
    system is computationally singular: reciprocal condition number = 4.06286e-18
  test3 - seed = 365 
  test1 - seed = 563 
  Error in solve.default(new.mu.sigma$sigma[, , x]) : 
    system is computationally singular: reciprocal condition number = 1.12184e-18
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 18 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-normal-single-omics.R:31:3): check estimations of LUCID with normal outcome (K = 2) ──
  `beta_causal` (`actual`) not equal to log(2) (`expected`).
  
    `actual`: -0
  `expected`:  1
  ── Failure (test-normal-single-omics.R:32:3): check estimations of LUCID with normal outcome (K = 2) ──
  `beta_non` (`actual`) not equal to 0 (`expected`).
  
    `actual`: -0.1
  `expected`:  0.0
  ── Failure (test-normal-single-omics.R:33:3): check estimations of LUCID with normal outcome (K = 2) ──
  `mu_causal` (`actual`) not equal to 2 (`expected`).
  
    `actual`: 1.5
  `expected`: 2.0
  ── Failure (test-normal-single-omics.R:34:3): check estimations of LUCID with normal outcome (K = 2) ──
  `mu_non` (`actual`) not equal to 0 (`expected`).
  
    `actual`: 0.4
  `expected`: 0.0
  ── Failure (test-normal-single-omics.R:35:3): check estimations of LUCID with normal outcome (K = 2) ──
  `gamma_causal` (`actual`) not equal to 1 (`expected`).
  
    `actual`: 0.8
  `expected`: 1.0
  ── Failure (test-normal-single-omics.R:37:3): check estimations of LUCID with normal outcome (K = 2) ──
  `sigma` (`actual`) not equal to 1 (`expected`).
  
    `actual`: 1.1
  `expected`: 1.0
  
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 18 ]
  Error: Test failures
  Execution halted