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
Should tibble::tibble()
use quos(..., .named = TRUE)
?
#613
Comments
Related: #581 (which is about auto-splicing). |
Maybe we should append @lionel-: Should this be the default, or perhaps an option? |
The plan was originally to have name repair in rlang but it is now in vctrs instead. Can you use |
Ideally I'd like to maintain full-width expressions, but |
You can auto-name yourself in this case. I don't think full-width expressions are ideal though. |
I don't think I want to auto-name myself, because we're striving for consistency with |
dplyr just uses |
With current tibble: tibble::tibble(!!! list(mtcars[,1:2], mtcars[,3:4]))
#> # A tibble: 32 x 4
#> mpg cyl disp hp
#> <dbl> <dbl> <dbl> <dbl>
#> 1 21 6 160 110
#> 2 21 6 160 110
#> 3 22.8 4 108 93
#> 4 21.4 6 258 110
#> 5 18.7 8 360 175
#> 6 18.1 6 225 105
#> 7 14.3 8 360 245
#> 8 24.4 4 147. 62
#> 9 22.8 4 141. 95
#> 10 19.2 6 168. 123
#> # … with 22 more rows Created on 2019-10-25 by the reprex package (v0.3.0) |
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. |
Is automatically adding names to unnamed
...
too surprising? Was this first error expected?Created on 2019-06-24 by the reprex package (v0.2.1)
The text was updated successfully, but these errors were encountered: