dgrtwo / tidy-text-mining

Manuscript of the book "Tidy Text Mining with R" by Julia Silge and David Robinson
http://tidytextmining.com
Other
1.32k stars 806 forks source link

Evaluation Error in 06. topic models #68

Closed Kenjd closed 5 years ago

Kenjd commented 5 years ago

Hi Julia. I'm getting the following error when trying to run your code in lines 73-88. Actually, lines 73 to 80 run fine. But when I run 81-88 the following error appears (with no plot):

Error in mutate_impl(.data, dots) : Evaluation error: could not find function "reorder_within".

Any help will be greatly appreciated. And thanks for all your hard work and sharing.

juliasilge commented 5 years ago

Thanks so much for checking out the book @Kenjd! 🙌

I believe you need to update to the current CRAN version of tidytext, using

install.packages("tidytext")

You can see when that function was added here, and you can read more about how to use it in this blog post.