Skip to content

Commit 39486e0

Browse files
committed
prepping for release
1 parent ab3d410 commit 39486e0

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Depends:
2424
Imports:
2525
cards (>= 0.7.0),
2626
cli (>= 3.6.1),
27-
dplyr (>= 1.1.2),
27+
dplyr (>= 1.2.0),
2828
glue (>= 1.6.2),
2929
lifecycle (>= 1.0.3),
3030
rlang (>= 1.1.1),

R/ard_tabulate.survey.design.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ ard_tabulate.survey.design <- function(data,
200200
dplyr::select(-c("stat_label", "fmt_fun", "warning", "error")) |>
201201
dplyr::mutate(
202202
stat_name =
203-
dplyr::case_match(.data$stat_name, "n" ~ "n_unweighted", "N" ~ "N_unweighted", "p" ~ "p_unweighted")
203+
dplyr::recode_values(.data$stat_name, "n" ~ "n_unweighted", "N" ~ "N_unweighted", "p" ~ "p_unweighted")
204204
)
205205
cards <- cards |> dplyr::bind_rows(cards_unweighted) # styler: off
206206
}

tests/testthat/test-ard_tabulate.survey.design.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1422,3 +1422,4 @@ test_that("ard_tabulate.survey.design() messaging with all NA lgl variables", {
14221422
ard_tabulate(variables = lgl)
14231423
)
14241424
})
1425+

0 commit comments

Comments
 (0)