I have a column of nested tibbles. I'd like to transform the x value of the second row into a list so that I can unnest. How can I change the values of this nested list conditional on the column name (x) and it's format (character)?
tibble(data = c(tibble(x = list(NULL)),
tibble(x = ""))) %>%
unnest(data)
#> Error: Can't combine `..1$data` <list> and `..2$data` <character>.