I tried to install and load in 'forecast' package, when I run the library (forecast), this is what it reads:
Error: package or namespace load failed for ‘forecast’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘TTR’
And when I tried to install and load in 'TTR', it shows message reading:
Error in library(TTR) : there is no package called ‘TTR’
And when I tried "install.packages("forecast", dependencies = TRUE)
library(forecast)"... it doesn't work here either. It shows the same as errors:
Error: package or namespace load failed for ‘forecast’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘TTR’
Note: I'm using the latest version of R (released on the first of November, 2021).
I'll appreciate if someone could help me figure out the issues. Thank you!!!