Skip to content

vec_rbind() enforces row names when input is a named list #966

@thomasp85

Description

@thomasp85

When passing in a named list of data frames without row names to vec_rbind() the return value is a data frame with row names. This change can potentially trigger a hard-to-debug renaming message, e.g.

dfs <- list(a = data.frame(x = 1), a = data.frame(x = 1))
vctrs::vec_rbind(!!!dfs)
#> New names:
#> * a -> a...1
#> * a -> a...2
#>       x
#> a...1 1
#> a...2 1

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions