Skip to content

Commit

Permalink
Merge branch 'main' into 920_tag_release@main
Browse files Browse the repository at this point in the history
  • Loading branch information
shajoezhu authored May 22, 2023
2 parents d81538d + 626abd5 commit c0b9e1b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions tests/testthat/_snaps/summarize_ancova.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
Code
res
Output
Species emmean SE df lower.CL upper.CL
setosa 6.154823 0.3370913 143 5.488497 6.821149
versicolor 5.717409 0.0668085 143 5.585349 5.849469
virginica 5.406377 0.1487946 143 5.112255 5.700498
Confidence level used: 0.95
# A tibble: 3 x 6
Species estimate std.error df conf.low conf.high
<chr> <dbl> <dbl> <dbl> <dbl> <dbl>
1 setosa 6.15 0.337 143 5.49 6.82
2 versicolor 5.72 0.0668 143 5.59 5.85
3 virginica 5.41 0.149 143 5.11 5.70

# s_ancova works with healthy input

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-summarize_ancova.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ testthat::test_that("h_ancova works with healthy input", {
) %>%
as.data.frame()

res <- testthat::expect_silent(result)
res <- testthat::expect_silent(broom::tidy(result))
testthat::expect_snapshot(res)
})

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-summarize_num_patients.R
Original file line number Diff line number Diff line change
Expand Up @@ -251,5 +251,5 @@ testthat::test_that("analyze_num_patients works well for pagination", {
"Number of events"
)
)
testthat::expect_identical(to_string_matrix(pag_result[[4]])[6, 1], "11")
testthat::expect_identical(to_string_matrix(pag_result[[3]])[6, 1], "17")
})

0 comments on commit c0b9e1b

Please sign in to comment.