Skip to content

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

@mgirlich

Description

@mgirlich

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions