From b19af8d7fd89f24f9c8f536e14c635fefea8ecda Mon Sep 17 00:00:00 2001 From: Emily de la Rua Date: Tue, 30 Jul 2024 08:22:46 -0400 Subject: [PATCH 1/3] Update `RATET01` snapshot --- book/tables/efficacy/ratet01.qmd | 4 ++-- .../_snaps/stable/tables-efficacy-ratet01.md | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/book/tables/efficacy/ratet01.qmd b/book/tables/efficacy/ratet01.qmd index b6de25b471..a247f45115 100644 --- a/book/tables/efficacy/ratet01.qmd +++ b/book/tables/efficacy/ratet01.qmd @@ -66,7 +66,7 @@ lyt <- basic_table(show_colcounts = TRUE) %>% .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( @@ -80,7 +80,7 @@ lyt <- basic_table(show_colcounts = TRUE) %>% .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" ) ) result <- build_table( diff --git a/package/tests/testthat/_snaps/stable/tables-efficacy-ratet01.md b/package/tests/testthat/_snaps/stable/tables-efficacy-ratet01.md index 0c777a03bd..d746709058 100644 --- a/package/tests/testthat/_snaps/stable/tables-efficacy-ratet01.md +++ b/package/tests/testthat/_snaps/stable/tables-efficacy-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 From 9317cbca70ec522cc49e70c5ec172751a522d7d0 Mon Sep 17 00:00:00 2001 From: Emily de la Rua Date: Tue, 30 Jul 2024 14:37:53 -0400 Subject: [PATCH 2/3] Update dev snap --- .../testthat/_snaps/development/tables-efficacy-ratet01.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/tests/testthat/_snaps/development/tables-efficacy-ratet01.md b/package/tests/testthat/_snaps/development/tables-efficacy-ratet01.md index 230789b4eb..5c9e726fe1 100644 --- a/package/tests/testthat/_snaps/development/tables-efficacy-ratet01.md +++ b/package/tests/testthat/_snaps/development/tables-efficacy-ratet01.md @@ -24,11 +24,11 @@ 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 + 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 Ratio 1.0283 1.0882 Rate Ratio CI (0.8856, 1.1941) (0.9381, 1.2624) - p value 0.7140 0.2643 + p-value 0.7140 0.2643 From 5ad6e5266537fa0f00abc51aece5b2d0d7a34815 Mon Sep 17 00:00:00 2001 From: Emily de la Rua Date: Wed, 31 Jul 2024 16:54:35 -0400 Subject: [PATCH 3/3] Fix stable ver snap - integration test fixed at the source --- .../_snaps/stable/tables-efficacy-ratet01.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package/tests/testthat/_snaps/stable/tables-efficacy-ratet01.md b/package/tests/testthat/_snaps/stable/tables-efficacy-ratet01.md index d746709058..5c7d1efcc1 100644 --- a/package/tests/testthat/_snaps/stable/tables-efficacy-ratet01.md +++ b/package/tests/testthat/_snaps/stable/tables-efficacy-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