Skip to content
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

eval_select() forces variables in include to the front #224

Closed
mgirlich opened this issue Dec 17, 2020 · 0 comments · Fixed by #283
Closed

eval_select() forces variables in include to the front #224

mgirlich opened this issue Dec 17, 2020 · 0 comments · Fixed by #283
Labels
bug an unexpected problem or unintended behavior

Comments

@mgirlich
Copy link

Variables specified with include are forced to the front even when they appear later in the selection. This lead to an issue in tidyverse/dbplyr#568

library(tidyselect)

eval_select(
  rlang::expr(c(a, b)), data.frame(a = 1, b = 1),
  include = "b"
)
#> b a 
#> 2 1

Created on 2020-12-17 by the reprex package (v0.3.0)

@lionel- lionel- added the bug an unexpected problem or unintended behavior label Mar 3, 2022
hadley added a commit that referenced this issue Aug 11, 2022
hadley added a commit that referenced this issue Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants