Issue with my RStudio library(fpp2)

Hi! I have an issue regarding activating library(fpp2). I'm currrently using R4.2.3 and RStudio 2023.03.0+386

#plotting using ggplot

install.packages("ggplot2", dependencies = TRUE)
install.packages("fpp2", dependencies = TRUE)

library(ggplot2)
library(fpp2)

Here is what I ran. There's no problem with ggplot2 but when I ran "library(fpp2)" this is what happens:

library(fpp2)
Error: package or namespace load failed for ‘fpp2’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘timeDate’

Any help would be much appreciated. Thanks!

Try installing the missing package

install.packages("timeDate")

Do you get any error message while doing so?

This topic was automatically closed 42 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.