Skip to content

Commit 2c021dc

Browse files
authored
Merge pull request #425 from cmu-delphi/hotfix
patch drop_ignored_keys broken grouped behavior
2 parents 7cc4a8f + 2654687 commit 2c021dc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: epipredict
22
Title: Basic epidemiology forecasting methods
3-
Version: 0.1.3
3+
Version: 0.1.4
44
Authors@R: c(
55
person("Daniel J.", "McDonald", , "[email protected]", role = c("aut", "cre")),
66
person("Ryan", "Tibshirani", , "[email protected]", role = "aut"),

R/utils-latency.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ 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`
361361
training %>%
362+
ungroup() %>%
362363
filter((dplyr::if_all(
363364
names(keys_to_ignore),
364365
~ . %nin% keys_to_ignore[[cur_column()]]

0 commit comments

Comments
 (0)