I have always been helped by everyone in the Rstudio community.
I would like to contribute as well and will send you the code.
The simple answer is
- uninstall R and Rtools,
- download them from the official website,
- and try to install them again.
If you are using Rstudio, then install Rstudio as well.
Then enter install.packages("tidyverse").
If it does not work, then check your network connection.
If you are using a company computer, it may be blocked by proxy settings.
Ask the department that manages the network.
Other ways to check.
Use library(httr) to check if R is connected to the network.
If you still can't get it to install properly,
- download zip file the tidyverse page on github(and open zip)
- and try devtools::install("your download directry path").
I would be happy to help you with your problem.