pkgs <- c(
"tidyverse", "janitor", "scales", "glue", "broom",
"patchwork", "ggrepel", "ggupset", "tinytable", "readxl",
"openxlsx2", "httr2", "withr", "curl", "assertthat",
"cli", "rlang"
)
install.packages(setdiff(pkgs, rownames(installed.packages())))This section builds on the R Basics chapters. You can already import data, wrangle it with dplyr, and create plots with ggplot2. The chapters here help you handle real-world complications: combining tables from multiple sources, automating repetitive tasks, writing reusable functions, and working with messy data formats. Each chapter is self-contained - feel free to pick the topics most relevant to your current work.
NoteRequired R packages
The chapters in this section use the R packages below. Run this once to install any that are missing: