Skip to content

Commit

Permalink
patch drop_ignored_keys broken grouped behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
dsweber2 committed Nov 7, 2024
1 parent 7cc4a8f commit 156c728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utils-latency.R
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ get_latency_table <- function(training, columns, forecast_date, latency,
drop_ignored_keys <- function(training, keys_to_ignore) {
# note that the extra parenthesis black magic is described here: https://github.com/tidyverse/dplyr/issues/6194
# and is needed to bypass an incomplete port of `across` functions to `if_any`
training %>%
training %>% ungroup %>%
filter((dplyr::if_all(
names(keys_to_ignore),
~ . %nin% keys_to_ignore[[cur_column()]]
Expand Down

0 comments on commit 156c728

Please sign in to comment.