hadley · GitHub

Merged

Merged

Conversation

The current default behaviour of select_vars, with sub
functions `starts_with`, `ends_with`, `contains` and
`matches`, when provided with a character pattern of
length zero, is to return all columns of the tbl. This commit
changes that default behaviour: now these functions fail
early, selecting nothing and telling the user that
an empty pattern was provided.

Closed

hadley added a commit that referenced this pull request

Aug 1, 2014
Fail early when empty pattern is provided to select_vars

@hadley

krlmlr pushed a commit to krlmlr/dplyr that referenced this pull request

Mar 2, 2016
Fail early when empty pattern is provided to select_vars

@lock lock Bot locked and limited conversation to collaborators

Jan 19, 2019

Labels

None yet

Read the original on github.com ↗