Can you please work on making your reprexes more minimal? This code gets to the essence of the problem much more quickly:
library(tidyr)
df<- tibble(
x=1:2,
y=vctrs::list_of(c("a", "b"), "c")
)
df %>% unnest_wider(y)
#> New names:#> * `` -> ...1#> * `` -> ...2#> New names:#> * `` -> ...1#> No common type for `x` <tbl_df<#> ...1: character#> ...2: character#> >> and `y` <character>.df %>% unnest_longer(y)
#> No common type for `x` <tbl_df<y:character>> and `y` <character>.
See #737 for full example
These are the columns that
pivot_wider()
creates so I don't believe this is expected :Created on 2019-09-15 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: