Error while trying

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)

quadprog dependes on R >= 3.6.0 you have to update R and then update your packages with

 update.packages(checkBuilt=TRUE, ask=FALSE)
1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.