Skip to content

bind_rows fails with Error: not compatible with STRSXP #1389

@safferli

Description

@safferli

I'm sorry if I'm just too much of an idiot, and am blind to boot. This might be related to #1346 but this is on non-empty data frames. What's plexing me is that do.call works, but bind_rows doesn't:

df <- lapply(1, function(x) data.frame(id=x, data=runif(5)))
df2 <- lapply(2:3, function(x) data.frame(id=x, data=runif(5)))

#doesn't work
bind_rows(df, df2)

#works
do.call(rbind, c(df, df2))

Am I doing something wrong here?

Metadata

Metadata

Labels

featurea feature request or enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions