library(forecast)
Error: package or namespace load failed for ‘forecast’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘lmtest’
install.packages("lmtest")
... cannot open URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/lmtest_0.9-35.tgz'
Warning in install.packages :
download of package ‘lmtest’ failed