Skip to content

Empty selections shouldn't error with allow_rename = FALSE #221

Closed
@DavisVaughan

Description

@DavisVaughan
tidyselect::eval_select(character(), mtcars, allow_rename = TRUE)
#> named integer(0)

tidyselect::eval_select(character(), mtcars, allow_rename = FALSE)
#> Error: Can't rename variables in this context.

Created on 2020-11-04 by the reprex package (v0.3.0.9001)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions