In a former version of tidyr
I was able to add rows to a nested tibble using dplyr::add_row
. After updating to version 1.0.0 I get the following error:
Error:
levels.vctrs_list_of()
not supported.
library(dplyr, warn.conflicts = FALSE)
library(tidyr)
mtcars %>%
tidyr::nest(data = dplyr::select(., -cyl) %>% colnames) %>%
dplyr::add_row(cyl = "all cyl", data = NA)
#> Error: `levels.vctrs_list_of()` not supported.
Created on 2020-01-17 by the reprex package (v0.3.0)
Are other users experiencing the same or is this specific to my system environment? Do I need to update other packages to get this running? Is there a workaround? Should I open an issue on Github?