You are getting this error because you do not have the required dependencies installed already. You can try rerunning the install.packages command with dependencies = TRUE:
install.packages("tidyverse", dependencies = TRUE)
If this does not work you can also just install each of those three packages individually first and then rerun the tidyverse installation