Skip to content

Commit

Permalink
Update tbl_svysummary.R
Browse files Browse the repository at this point in the history
  • Loading branch information
ddsjoberg committed Nov 22, 2024
1 parent 3029be1 commit 8f28bc7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions R/tbl_svysummary.R
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ tbl_svysummary <- function(data,
# fill each element of digits argument
if (!missing(digits)) {
digits <-
svyselect(data, all_of(include)) |>
data |>
assign_summary_digits(statistic, type, digits = digits)
}

Expand Down Expand Up @@ -375,7 +375,3 @@ tbl_svysummary <- function(data,
x
}

svyselect <- function(.data, ...) {
.data$variables <- dplyr::select(.data$variables, ...)
.data
}

0 comments on commit 8f28bc7

Please sign in to comment.