We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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?
to your account
tibble::tibble(a = 1:3, b = 4:6)[1,, drop = TRUE]
#>  1
#>  4
Created on 2018-07-30 by the reprex package (v0.2.0).
The text was updated successfully, but these errors were encountered:
What's the expected behavior here? Is tibble not supposed to work like data.frame in this regard?
> data.frame(a = 1:3, b = 4:6)[1,, drop = TRUE]
Sorry, something went wrong.
Thanks, in this case we just keep the data frame behavior (but add a comment to the surprising section in the code).
I'm not sure how we got to this place - I strongly believe that [ should only ever return a data frame, and this list special case is a bad idea.
Looks like we reimplemented the behavior of "[.data.frame"() by accident. More than happy to change this.
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.
No branches or pull requests