Install R packages

All of the necessary packages and example data sets can be installed by installing the workshop companion package, tidydscompanion.

install.packages("remotes", dependencies = TRUE)
remotes::install_cran("tidyverse", dependencies = TRUE, upgrade = "always",
repos = "https://cran.rstudio.com/")
remotes::install_github("wjakethompson/tidydscompanion", dependencies = TRUE,

# should just work if installed

If you are not able to load the tidydscompanion package, then everything hasn’t installed correclty. Try to troubleshoot, or ask the instructor or a TA for help!