b-rodrigues / rap4all

https://raps-with-r.dev/
Other
96 stars 31 forks source link

Remove eval = TRUE in chunk defining get_raw_data() #67

Open clayford opened 3 months ago

clayford commented 3 months ago

Remove eval = TRUE in chunk defining get_raw_data(), in Ch 9, section 9.1.

b-rodrigues commented 3 months ago

thanks, but can you explain why?

clayford commented 3 months ago

Because the Rmd file does not run if that chunk is not evaluated. Maybe I'm missing something. I was following chapter 9, re-writing the R scripts as Rmd files and the Rmd file wouldn't run until I removed that option or set it to TRUE.

Really enjoying the book!

Thanks, Clay

clayford commented 3 months ago

Doh, I just realized I typed "Remove eval = TRUE ". That's supposed to say "Remove eval = FALSE". Sorry about that!

b-rodrigues commented 3 months ago

I'm not sure that's supposed to run at that point in the text, it is just a reminder of the code that was used.

Really enjoying the book!

Thanks !