From c63f496ed9ff56213a79f1ad4033886b2f5adca6 Mon Sep 17 00:00:00 2001 From: Rob Tenorio Date: Wed, 24 Oct 2018 20:25:50 +0300 Subject: [PATCH] small typo referencing wrong object (#686) Line 571 should reference word, the column name in df, not words, the vector. --- strings.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strings.Rmd b/strings.Rmd index ae5207f..86de4b5 100644 --- a/strings.Rmd +++ b/strings.Rmd @@ -579,7 +579,7 @@ df <- tibble( i = seq_along(word) ) df %>% - filter(str_detect(words, "x$")) + filter(str_detect(word, "x$")) ```