I've been having this problem with multiple datasets: Palmer Penguins, Anscombe’s Quartet, and my own csv I created and imported.
I'm careful to load my packages in this order before I start work: tidyverse, here, skimr, janitor.
I'll run a basic line of code and get an error object not found, then I'll run a different line with the same object and it'll work fine. Then, I'll re-run the original line of code and sometimes it works the second time but sometimes it still gets the same error.
Not exactly, what I'm saying is that you need to use proper syntax, the pipe operator (%>%) passes anything on its left side as the first argument for the function on its right side. For example, these two lines of code are equivalent: