Skip to content

Commit

Permalink
fix tidyselect deprecation warnings in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomUK committed Dec 5, 2023
1 parent 429ac6a commit 2fa3acb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/process_event_data_t.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ process_event_data_t <- function(event_data, data_cutoff_dttm){
dplyr::ungroup() |>

# fill in the gaps left by adding the "today" event
tidyr::fill(.data$aggregation, .data$measure_name) |>
dplyr::relocate(.data$aggregation) |>
tidyr::fill("aggregation", "measure_name") |>
dplyr::relocate("aggregation") |>
dplyr::rename(
date = .data$event_date_or_datetime,
value = .data$time_between
date = "event_date_or_datetime",
value = "time_between"
)
}

0 comments on commit 2fa3acb

Please sign in to comment.