The `..` syntax in 3.7 Exercises to refer to computed variable `prop` should be updated to use the best practice of `after_stat` instead. Reduces confusion and more aligns with the documentation.
Line 506:
When fixing the string format in the `key` column using the `str_replace` function, I think the column name was mistakenly stated as "names_from", where it should actually be "key", which is the original column name.
Further to {tidyselect} documentation "one_of() is retired in favour of the more precise any_of() and all_of() selectors." this exercise (5.4.1) should be updated to be in-line with current functionality.
Two exercises use $\mu$ to mean the mean parameter of a normal distribution. However, nowhere in the book is it defined as such. For clarity replace $\mu$ with "mean".
The question asks:
> Follow <http://nicercode.github.io/intro/writing-functions.html> to write your own functions to compute the variance and skew of a numeric vector.
However, the math on that page no longer renders.
Directly include the skew and variance equations in the question.
My guess is that the guess_parser() function was changed/updated since the writing of this book. From '?guess_parser', the following default is used: 'guess_integer = FALSE'. Thus column 'x' is not problematic anymore.
* Updates tidy.Rmd to teach pivot_longer() and pivot_wider() instead of gather() and spread().
* Eliminates all out-dated uses of gather and spread found in a find-in-files search.
* Removes yaml header and duplicate sentence from tidy.Rmd.
* Fix a few minor typos
Examples include saying we'll learn about filter() in the next chapter, but it's not until chapter 5. And, also, it says we'll learn about how to use multiple geoms in the same plot in the next section, but then not far below, in the same section, it shows how to use multiple geoms.
* Three minor fixes in chapter 5
* Remove " I introduced in prior commit