Hello. I am trying to install a few packages for running a program, and error messages as below occur, hindering me from installing the packages.
I am using a Windows 11 OS, and R-4.4.1, would be appreciated for any advice to solve this issue.
(original code) >> if (!require("tidyverse")) install.packages("tidyverse")
(error message below)
Loading required package: tidyverse
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
A version of this package for your version of R might be available elsewhere,
see the ideas at