Skip to content

Commit 156c728

Browse files
committed
patch drop_ignored_keys broken grouped behavior
1 parent 7cc4a8f commit 156c728

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/utils-latency.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ get_latency_table <- function(training, columns, forecast_date, latency,
358358
drop_ignored_keys <- function(training, keys_to_ignore) {
359359
# note that the extra parenthesis black magic is described here: https://github.com/tidyverse/dplyr/issues/6194
360360
# and is needed to bypass an incomplete port of `across` functions to `if_any`
361-
training %>%
361+
training %>% ungroup %>%
362362
filter((dplyr::if_all(
363363
names(keys_to_ignore),
364364
~ . %nin% keys_to_ignore[[cur_column()]]

0 commit comments

Comments
 (0)