Getting the below error while trying to use library forecast
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 ‘quadprog’
In addition: Warning message:
package ‘forecast’ was built under R version 3.5.3
Then tried uploading 'quadprog'
Warning message:
package ‘quadprog’ is not available (for R version 3.5.1)