diff --git a/numbers.qmd b/numbers.qmd index 24e8b91..de9e44b 100644 --- a/numbers.qmd +++ b/numbers.qmd @@ -179,7 +179,7 @@ flights |> The code runs without error, but it doesn't return what you want. Because of the recycling rules it finds flights in odd numbered rows that departed in January and flights in even numbered rows that departed in February. -And unforuntately there's no warning because `flights` has an even number of rows. +And unfortunately there's no warning because `flights` has an even number of rows. To protect you from this type of silent failure, most tidyverse functions use a stricter form of recycling that only recycles single values. Unfortunately that doesn't help here, or in many other cases, because the key computation is performed by the base R function `==`, not `filter()`.