You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using rlang::flatten() instead of purrr::flatten() would fix this because it only flattens inner lists. For instance, the following all return the same results:
list(mtcars, mtcars))
rlang::flatten(list(mtcars, mtcars))) # No inner listrlang::flatten(list(mtcars, list(mtcars)))) # Flattened inner list
We're still not sure what the proper flattening semantics are...
Consider this:
I would expect
flatten_dfr
to simply concatenate the data frame likebind_rows
, but it appears to just drop all elements except the first.The text was updated successfully, but these errors were encountered: