From 42516ef6bc8fa6395e3d0335ffa437523e468523 Mon Sep 17 00:00:00 2001 From: "Brian M. Schilder" <34280215+bschilder@users.noreply.github.com> Date: Sat, 4 Nov 2023 17:13:42 +0000 Subject: [PATCH] Fix gen_results tests --- tests/testthat/test-gen_results.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testthat/test-gen_results.R b/tests/testthat/test-gen_results.R index 95bd1f9..729f009 100644 --- a/tests/testthat/test-gen_results.R +++ b/tests/testthat/test-gen_results.R @@ -11,6 +11,6 @@ test_that("gen_results works", { reps = 10) testthat::expect_true(methods::is(all_results,"data.table")) testthat::expect_gte(sum(list_names %in% unique(all_results$hpo_id)), - length(list_names)-1) - testthat::expect_gte(nrow(all_results[q<=0.05,]),10) + length(list_names)-2) + testthat::expect_gte(nrow(all_results[q<=0.05,]),8) })