Getting errors when installing the tidyverse package in R4.4.1

I am getting the errors below when i try to install the tidyverse package, any help on this will be appreciated.

WARNING: Rtools is required to build R packages but no version of Rtools compatible with the currently running version of R was found. Note that the following incompatible version(s) of Rtools were found:

  • Rtools 4.2 (installed at C:\rtools42)

Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/
Warning in install.packages :
unable to access index for repository https://cran.rstudio.com/src/contrib:
cannot open URL 'https://cran.rstudio.com/src/contrib/PACKAGES'
Warning in install.packages :
package ‘tidyverse’ is not available for this version of R

Can you open this URL from your browser? Are you behind a proxy?

At some point you'll need to install the appropriate version of Rtools, but that's not your problem just yet.