Skip to content

Commit

Permalink
address deprecation of id_cols passed by position
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch committed Jun 5, 2023
1 parent b46cd53 commit d7db9be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/lmodel2-tidiers.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ tidy.lmodel2 <- function(x, ...) {
) %>%
tidyr::separate(key, c("level", "term"), "-") %>%
mutate(level = ifelse(level == "2.5%", "conf.low", "conf.high")) %>%
tidyr::pivot_wider(c(Method, term),
tidyr::pivot_wider(
id_cols = c(Method, term),
names_from = level,
values_from = value
) %>%
Expand Down

0 comments on commit d7db9be

Please sign in to comment.