-
Notifications
You must be signed in to change notification settings - Fork 2.1k
mutating, arranging, summarizing empty data frames fails with "not compatible with STRSXP" #1142
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
Comments
I fixed
|
@romainfrancois shouldn't that be an error because the output is a different length to the input? |
Another good test case would be |
Now I get:
Because a length 1 result in |
Ah, I forgot about that principle. I think either way is probably ok, but recycling to length 0 is a little less frustrating for people. |
In that case I think we can close this. |
I think this issue has returned with some of the new updates. I have empty data_frames that I am trying to bind and it now returns the dreaded
|
@abresler could you please file a new issue with a minimal reprex |
To reproduce:
The
_
versions also fail.select
,filter
,group_by
work OK.Related: [ fails inside mutate
The text was updated successfully, but these errors were encountered: