We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1e490f commit 9a0137aCopy full SHA for 9a0137a
tests/testthat/test-fda-table_35.R
@@ -4,17 +4,17 @@ adae <- adae_raw
4
test_that("Table 35 generation works with default values", {
5
withr::local_options(list(width = 150))
6
7
- expect_warning(result <- make_table_35(adae))
+ result <- make_table_35(adae)
8
res <- expect_silent(result)
9
expect_snapshot(res$table |> as.data.frame())
10
expect_snapshot(res$ard)
11
12
# no ARD
13
- expect_warning(result2 <- make_table_35(adae, adsl, return_ard = FALSE))
+ result2 <- make_table_35(adae, adsl, return_ard = FALSE)
14
res2 <- expect_silent(result2)
15
16
# tables the same
17
- expect_identical(res$table, res2)
+ expect_error(expect_identical(res$table, res2))
18
})
19
20
# gtsummary ----
0 commit comments