It's a corner case. Current select(.data, 0) throws an error. But I would expect select(.data, 0) returns a data frame with 0 columns as .data[, 0].
iris[, 0]
#> data frame with 0 columns and 150 rowsdplyr::select(iris, 0)
#> Error in inds_combine(.vars, ind_list): Each argument must yield either positive or negative integers
Maybe the issue is more related to tidyselect::vars_select().
It's a corner case. Current
select(.data, 0)
throws an error. But I would expectselect(.data, 0)
returns a data frame with 0 columns as.data[, 0]
.Maybe the issue is more related to
tidyselect::vars_select()
.Created on 2019-01-04 by the reprex package (v0.2.1)
The text was updated successfully, but these errors were encountered: