library(tidymodels) library(tidyverse) library(rcis) library(rstanarm) library(broom.mixed) set.seed(123) theme_set(theme_minimal()) Introduction There are several different approaches to fitting a linear model in R.1 Here, we introduce tidymodels and demonstrate how to construct a basic linear regression model.