Skip to content

Commit

Permalink
Update test-ard_proportion_ci.R
Browse files Browse the repository at this point in the history
  • Loading branch information
ddsjoberg committed May 25, 2024
1 parent fbd938f commit 18bb852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-ard_proportion_ci.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ test_that("ard_proportion_ci() works", {
cards::get_ard_statistics(
ard_factor,
group1_level %in% 0,
map_lgl(variable_level, ~ .x == "10")
unlist(variable_level) == "10"
)[c("estimate", "conf.low", "conf.high")],
proportion_ci_wald(mtcars$cyl[mtcars$am == 0] == 10, correct = TRUE)[c("estimate", "conf.low", "conf.high")]
)
Expand Down

0 comments on commit 18bb852

Please sign in to comment.