Closed stephenturner closed 7 years ago
added tidyverse to setup instructions but still haven't changed it in the lessons yet.
Huge list of places in lessons where you could update this. Not sure if I want to or not. @vpnagraj - you're teaching these lessons. If you want to instruct people to load tidyverse instead of each specific library, feel free to go through and start to change some of these.
Hey @vpnagraj -- I made a few changes on the setup page without thinking about whether they'd mean anything for your lessons. I moved the knitr and rmarkdown installations to the RMarkdown lesson, so tidyverse is the only generally installed package all around. If you needed knitr or Rmarkdown for those lessons, you could put them in there on top of the other packages you're asking for, or I could stick these back up in the general R installation instructions.
Thanks for the heads up ... I don't think I'm using kntir or rmarkdown in any of the other lessons so should be fine. And I'll consider updating the other calls to tidyverse packages. Honestly kind of ambivalent about it. I've been using tidyverse, and it's definitely a time saver but may be sort of a "black box" for beginners. In other words, it might still be helpful to explicitly load the individual packages for teaching purposes. IDK ...
good point. I'll close this issue, no reason to update all those lessons above. I still like the idea of tidyverse in the setup. makes things easier.
i'm wondering if we should roll back and load libraries individually rather than tidyverse. pros/cons both ways. tidyverse convenient, but unique in what it does. no other "meta" packages that i know of. @vpnagraj
also, i noticed over the summer when folks were trying to install tidyverse, they got some odd errors related to forcats
- almost made me think the forcats pkg needed to be installed prior to installing tidyverse.
still undecided whether the convenience of library(tidyverse)
is worth the tradeoff to try to explain to beginners the tidyverse as a meta-package, a pretty unique thing in the R world. any thoughts @vpnagraj ?
I posed the question to the brand new RStudio community site, and some of the early views already show a consensus leaning toward teaching individual packages to beginners. After reading the comments I agree. I plan on keeping this open until I fix the setup instructions and loading individual packages on each lesson. Let me know if you're on the same page @vpnagraj
@stephenturner i'm totally on the same page ... using library(tidyverse)
is definitely a convenience, but in terms of teaching i think it feels kind of like a black box
fix them here:
@vpnagraj i updated all my lessons, and I don't think yours are affected. but I did modify the setup instructions. Please take a look to make sure everything will still work okay on your end. reopen this issue if you spot any problem.
https://twitter.com/hadleywickham/status/773264703711617024
The tidyverse package installs and loads pretty much all the tidy packages we use here - ggplot2, dplyr, readr, tidyr, tibble, stringr, broom, etc.
Once this hits CRAN (next week?) change setup instructions and lesson-specific
library
calls.