Cannot install package 'forecast'. Already turned out secure download for http in Rstudio package manager and tried different mirrors. As it is says that package is not available (for R version 3.5.1), I tried to update R with package 'installr', but it's also unavailable. What could be done? Those are the warnings I'm getting.
install.packages("forecast") Installing package into ‘C:/Users/User/Documents/R/win-library/3.5’ (as ‘lib’ is unspecified) Warning in install.packages : dependencies ‘timeDate’, ‘tseries’, ‘urca’, ‘uroot’ are not available also installing the dependency ‘fracdiff’ Warning in install.packages : unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.5: cannot open URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.5/PACKAGES' trying URL 'https://mran.microsoft.com/snapshot/2018-08-01/bin/windows/contrib/3.5/fracdiff_1.4-2.zip' Warning in install.packages : InternetOpenUrl failed: 'The operation timed out' Error in download.file(url, destfile, method, mode = "wb", ...) : cannot open URL 'https://mran.microsoft.com/snapshot/2018-08-01/bin/windows/contrib/3.5/fracdiff_1.4-2.zip' Warning in install.packages : download of package ‘fracdiff’ failed trying URL 'https://mran.microsoft.com/snapshot/2018-08-01/bin/windows/contrib/3.5/forecast_8.4.zip' Warning in install.packages : InternetOpenUrl failed: 'The operation timed out' Error in download.file(url, destfile, method, mode = "wb", ...) : cannot open URL 'https://mran.microsoft.com/snapshot/2018-08-01/bin/windows/contrib/3.5/forecast_8.4.zip' Warning in install.packages : download of package ‘forecast’ failed install.packages("installr") Warning in install.packages : unable to access index for repository https://mran.microsoft.com/snapshot/2018-08-01/src/contrib: cannot open URL 'https://mran.microsoft.com/snapshot/2018-08-01/src/contrib/PACKAGES' Installing package into ‘C:/Users/User/Documents/R/win-library/3.5’ (as ‘lib’ is unspecified) Warning in install.packages : unable to access index for repository https://mran.microsoft.com/snapshot/2018-08-01/src/contrib: cannot open URL 'https://mran.microsoft.com/snapshot/2018-08-01/src/contrib/PACKAGES' Warning in install.packages : package ‘installr’ is not available (for R version 3.5.1) Warning in install.packages : unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.5: cannot open URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.5/PACKAGES' '''