Erratum tidyr 0.7.0

In tidyr 0.7.0, we introduced a stronger distinction between data expressions and context expressions for selection verbs like gather(). However that change caused a lot of trouble and confusion and we have updated tidyselect (the backend for selection functions) to revert that behaviour. In that article, we provide a few comments on these changes as well as some notes on good practices for writing functions with tidyverse tools. Finally we introduce two new selection features that help write safer code: improved support for strings and character vectors and a new selection helper last_col().


This is a companion discussion topic for the original entry at https://www.tidyverse.org/blog/2017/09/erratum-tidyr-0.7.0/