unnest_wider / _longer fails if list contains objects. #810
Labels
bug
an unexpected problem or unintended behavior
rectangling 🗄️
converting deeply nested lists into tidy data frames
Consider this example
Where I have a nested column that has 2 elements, one of which is an object (
lm
in this case). When trying to unnest elements to columns (unnest_wider
) or rows (unnest_longer
),tidyr
complains.Strangely, we can get the correct behavior if we use plain
unnest
.I am not sure if this is intended behavior and whether there are possible workarounds.
The text was updated successfully, but these errors were encountered: