small typo referencing wrong object (#686)

Line 571 should reference word, the column name in df, not words, the vector.
This commit is contained in:
Rob Tenorio 2018-10-24 20:25:50 +03:00 committed by Hadley Wickham
parent 5d1a4b57ba
commit c63f496ed9
1 changed files with 1 additions and 1 deletions

View File

@ -579,7 +579,7 @@ df <- tibble(
i = seq_along(word)
)
df %>%
filter(str_detect(words, "x$"))
filter(str_detect(word, "x$"))
```