In the recent dplyr version (1 <= ) the .key argument got deprecated.
In the docu they write that:
.key Deprecated lifecycle: No longer needed because of the new new_col = c(col1, col2, col3) syntax.
I do not use new_col syntax but the group_by (I do know the key column but col1, col2 etc might differ).
How do I change the code below so that it still does the same but does not produce the deprecated warning?
data <- data.frame(key= rep(letters,2), a = runif(2*length(letters)), b = runif(2*length(letters)))
data %>% group_by(key) %>% nest(.key="myData")
head(data)