Running 'testthat.R' [10s/12s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(LUCIDus)
  > 
  > test_check("LUCIDus")
  test1 - seed = 560 
  test2 - seed = 890 
  test3 - seed = 618 
  test4 - seed = 1386 
  test4 - seed = 1572 
  test1 - seed = 1519 
  test2 - seed = 1857 
  test3 - seed = 142 
  test1 - seed = 1151 
  test1 - seed = 597 
  [ FAIL 7 | WARN 0 | SKIP 0 | PASS 20 ]
  
  == 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.4
  `expected`: 0.7
  -- 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.3
  `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.0
  `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.3
  `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.7
  `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
  -- Failure (test-predict.R:34:3): check prediction of lucid --------------------
  pred1$pred.y (`actual`) not equal to `pred2` (`expected`).
  
       actual        | expected                      
   [1] 0.97039335349 - 0.97039341320 [1]             
   [2] 0.91643243993 - 0.91643234560 [2]             
   [3] 1.00364522357 - 1.00364529092 [3]             
   [4] 0.88485030899 - 0.88485017878 [4]             
   [5] 1.00940714472 - 1.00940726540 [5]             
   [6] 1.05575496536 - 1.05575516585 [6]             
   [7] 0.97606268195 - 0.97606266547 [7]             
   [8] 1.02575730595 - 1.02575740526 [8]             
   [9] 0.94296422236 - 0.94296413957 [9]             
  [10] 1.00930722156 - 1.00930729897 [10]            
   ... ...             ...           and 190 more ...
  
  [ FAIL 7 | WARN 0 | SKIP 0 | PASS 20 ]
  Error: Test failures
  Execution halted