Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
JoyceMbiguidi opened this issue Jul 17, 2019 · 4 comments
Closed
Labels
reprex

Comments

@JoyceMbiguidi
Copy link

JoyceMbiguidi commented Jul 17, 2019

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

@romainfrancois
Copy link
Member

romainfrancois commented Jul 17, 2019

Can you prepare a reprex please ?

@romainfrancois romainfrancois added the reprex label Jul 17, 2019
@romainfrancois
Copy link
Member

romainfrancois commented Jul 22, 2019

Please reopen with a reprex.

@JoyceMbiguidi
Copy link
Author

JoyceMbiguidi commented Jul 22, 2019

@lock
Copy link

lock bot commented Jan 18, 2020

This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/

@lock lock bot locked and limited conversation to collaborators Jan 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
reprex
Projects
None yet
Development

No branches or pull requests

2 participants