Persistent problem installing tidyverse and stringr

Did your installation succeed?

install.packages("tidyverse", dependencies = TRUE)

Once it's installed you should be able to load/attach the library (note, no space between library and the parentheses:

library(tidyverse)

What versions of R and RStudio are you using? (see FAQ below for disambiguation)