Skip to content

Commit

Permalink
Fix GitHub test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Puzzled-Face committed Oct 4, 2024
1 parent b4f6c7e commit 3e49b24
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions R/Data-methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -1006,10 +1006,11 @@ setMethod(
) %>%
dplyr::rowwise() %>%
dplyr::mutate(
Tmp = !any(dplyr::across(c(tidyselect::starts_with("Cat"), -Cat0), any)),
AnyTox = any(dplyr::across(c(starts_with("Cat"), -Cat0), any)),
# Direct assignment fails on GitHub
Cat0 = Tmp
Cat0 = !AnyTox
) %>%
dplyr::select(-AnyTox) %>%
dplyr::ungroup() %>%
h_tidy_class(x)
}
Expand Down

0 comments on commit 3e49b24

Please sign in to comment.