Skip to content

Should tbl_vars() add grouping metadata with grouped tibble? #4106

@lionel-

Description

@lionel-

Currently select() uses the unexported sel_vars() to create variables passed to tidyselect. These variables contain the metadata necessary for group_cols() to figure out the grouping variables.

While this works for select(), group_cols() can't be used in other selecting functions like tidyr::gather(). Support for grouped tibbles in tbl_vars() would solve this.

Metadata

Metadata

Labels

featurea feature request or enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions