Running ‘testthat.R’ [21s/32s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(EScvtmle)
  Loading required package: SuperLearner
  Loading required package: nnls
  Loading required package: gam
  Loading required package: splines
  Loading required package: foreach
  Loaded gam 1.22
  
  Super Learner
  Version: 2.0-28
  Package created on 2021-05-04
  
  > 
  > test_check("EScvtmle")
  Working on fold 1 at 2022-12-09 15:44:29.98622
  Working on fold 2 at 2022-12-09 15:44:30.747495
  Working on fold 3 at 2022-12-09 15:44:31.733982
  Working on fold 4 at 2022-12-09 15:44:32.665575
  Working on fold 5 at 2022-12-09 15:44:33.612625
  Working on fold 6 at 2022-12-09 15:44:34.541186
  Working on fold 7 at 2022-12-09 15:44:35.072906
  Working on fold 8 at 2022-12-09 15:44:35.782688
  Working on fold 9 at 2022-12-09 15:44:36.522548
  Working on fold 10 at 2022-12-09 15:44:37.146272
  Working on fold 1 at 2022-12-09 15:44:40.280951
  Working on fold 2 at 2022-12-09 15:44:41.44778
  Working on fold 3 at 2022-12-09 15:44:42.438212
  Working on fold 4 at 2022-12-09 15:44:43.596323
  Working on fold 5 at 2022-12-09 15:44:44.507088
  Working on fold 6 at 2022-12-09 15:44:45.57037
  Working on fold 7 at 2022-12-09 15:44:46.286954
  Working on fold 8 at 2022-12-09 15:44:47.650446
  Working on fold 9 at 2022-12-09 15:44:48.931083
  Working on fold 10 at 2022-12-09 15:44:50.435043
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 69 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-common_functions.R:233'): Sampling distribution approx. mean 0 ──
  abs(mean(limitdistsamp$psi_pstarnv_b2v)) < 0.01 is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 69 ]
  Error: Test failures
  Execution halted