Skip to content

Commit

Permalink
Update ratet01 snapshot (#149)
Browse files Browse the repository at this point in the history
Closes #148

---------

Co-authored-by: 27856297+dependabot-preview[bot]@users.noreply.github.com <27856297+dependabot-preview[bot]@users.noreply.github.com>
  • Loading branch information
edelarua and dependabot-preview[bot] authored Jul 25, 2024
1 parent 353473b commit 675cf68
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ Encoding: UTF-8
Language: en-US
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.1
RoxygenNote: 7.3.2
12 changes: 6 additions & 6 deletions tests/testthat/_snaps/table_ratet01.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
Rate 7.2364 8.2148 9.8131
Adjusted (QP) exacerbation rate (per year)
Rate 2.4550 2.8514 3.4304
Rate CI (1.6194, 3.7219) (1.8974, 4.2850) (2.2946, 5.1284)
Rate CI (1.6194, 3.7219) (1.8974, 4.2850) (2.2946, 5.1284)
Rate Ratio 1.1615 1.3973
Rate Ratio CI (0.6462, 2.0877) (0.7789, 2.5067)
p value 0.6169 0.2619
Rate Ratio CI (0.6462, 2.0877) (0.7789, 2.5067)
p-value 0.6169 0.2619
Adjusted (NB) exacerbation rate (per year)
Rate 2.7374 2.8150 2.9789
Rate CI (2.3932, 3.1311) (2.4681, 3.2106) (2.6152, 3.3932)
Rate CI (2.3932, 3.1311) (2.4681, 3.2106) (2.6152, 3.3932)
Rate Ratio 1.0283 1.0882
Rate Ratio CI (0.8856, 1.1941) (0.9381, 1.2624)
p value 0.7140 0.2643
Rate Ratio CI (0.8856, 1.1941) (0.9381, 1.2624)
p-value 0.7140 0.2643

4 changes: 2 additions & 2 deletions tests/testthat/test-table_ratet01.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ testthat::test_that("RATET01 is produced correctly", {
.stats = c("rate", "rate_ci", "rate_ratio", "rate_ratio_ci", "pval"),
.labels = c(
rate = "Rate", rate_ci = "Rate CI", rate_ratio = "Rate Ratio",
rate_ratio_ci = "Rate Ratio CI", pval = "p value"
rate_ratio_ci = "Rate Ratio CI", pval = "p-value"
)
) %>%
summarize_glm_count(
Expand All @@ -53,7 +53,7 @@ testthat::test_that("RATET01 is produced correctly", {
.stats = c("rate", "rate_ci", "rate_ratio", "rate_ratio_ci", "pval"),
.labels = c(
rate = "Rate", rate_ci = "Rate CI", rate_ratio = "Rate Ratio",
rate_ratio_ci = "Rate Ratio CI", pval = "p value"
rate_ratio_ci = "Rate Ratio CI", pval = "p-value"
)
)

Expand Down

0 comments on commit 675cf68

Please sign in to comment.