Skip to content

bind_rows() does not work properly when column type is a factor (OS win) #4495

@JoyceMbiguidi

Description

@JoyceMbiguidi

I'm working on windows 7 pro. I need to append 2 datasets (same length and names(df1)==names(df2)) is always TRUE.
But, the following script generate an Error.

SCRIPT : order_us <- bind_rows(df1, df2)

ERROR : Error: Column Lineitem requires shipping can't be converted from factor to logical

In addition: There were 26 warnings (use warnings() to see them)

Lineitem requires shipping column looks like : TRUE / FALSE

However r_bind(df1, df2) works fine!

R.version:

platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 3
minor 4.3
year 2017
month 11
day 30
svn rev 73796
language R
version.string R version 3.4.3 (2017-11-30)
nickname Kite-Eating Tree

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    reprexneeds a minimal reproducible example

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions