We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66af505 commit 17bcb6dCopy full SHA for 17bcb6d
R/compat-tidyr.R
@@ -6,5 +6,5 @@ nest_ <- function(data, key_col, nest_cols = character()) {
6
res <- list()
7
res[[key_column]] <- key_levels
8
res[[key_col]] <- split(data[, nest_cols], key_factor)
9
- as_tibble(res)
+ new_tibble(res, nrow = length(key_levels))
10
}
0 commit comments