Skip to content

Commit cd52992

Browse files
committed
Lint unused variable
1 parent 57a6932 commit cd52992

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/methods-epi_df.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ sum_groups_epi_df <- function(.x, sum_cols, group_cols = "time_value") {
523523
# Attempt tidyselection ourselves to get "Error in `sum_groups_epi_df()`"
524524
# rather than "in `dplyr::summarize()`", before forwarding:
525525
sum_cols <- rlang::enquo(sum_cols)
526-
pos <- tidyselect::eval_select(sum_cols, .x)
526+
tidyselect::eval_select(sum_cols, .x)
527527
out <- group_by(.x, across(all_of(group_cols))) %>%
528528
dplyr::summarize(across(!!sum_cols, sum), .groups = "drop")
529529

0 commit comments

Comments
 (0)