If you forget to specify the col which unnest_wider() should act on, it complains that x is missing. Feels like that should be col. It's not entirely clear to me if this is a tidyr or tidyselect problem
library(tidyverse)
df <- tibble(
z = list(list(letter = "a"), list(letter = "b"))
)
df %>%
unnest_wider(z)
#> # A tibble: 2 x 1
#> letter
#> <chr>
#> 1 a
#> 2 b
df %>%
unnest_wider()
#> Error: argument "x" is missing, with no default
Created on 2019-11-19 by the reprex package (v0.3.0.9001)
cc @lionel-
If you forget to specify the
colwhichunnest_wider()should act on, it complains thatxis missing. Feels like that should becol. It's not entirely clear to me if this is a tidyr or tidyselect problemCreated on 2019-11-19 by the reprex package (v0.3.0.9001)
cc @lionel-