From 675cf6891070b6b44f36a61ce727666ffc683547 Mon Sep 17 00:00:00 2001 From: Emily de la Rua <59304861+edelarua@users.noreply.github.com> Date: Thu, 25 Jul 2024 19:20:14 -0400 Subject: [PATCH] Update ratet01 snapshot (#149) Closes #148 --------- Co-authored-by: 27856297+dependabot-preview[bot]@users.noreply.github.com <27856297+dependabot-preview[bot]@users.noreply.github.com> --- DESCRIPTION | 2 +- tests/testthat/_snaps/table_ratet01.md | 12 ++++++------ tests/testthat/test-table_ratet01.R | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 76890e32..4d837a8b 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -51,4 +51,4 @@ Encoding: UTF-8 Language: en-US LazyData: true Roxygen: list(markdown = TRUE) -RoxygenNote: 7.3.1 +RoxygenNote: 7.3.2 diff --git a/tests/testthat/_snaps/table_ratet01.md b/tests/testthat/_snaps/table_ratet01.md index 9b3ec520..f7334f54 100644 --- a/tests/testthat/_snaps/table_ratet01.md +++ b/tests/testthat/_snaps/table_ratet01.md @@ -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 diff --git a/tests/testthat/test-table_ratet01.R b/tests/testthat/test-table_ratet01.R index 4ed359ca..5994c909 100644 --- a/tests/testthat/test-table_ratet01.R +++ b/tests/testthat/test-table_ratet01.R @@ -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( @@ -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" ) )