I actually found a package I can use. But when I try to install it I get.
Warning: failed to download mirrors file (cannot open URL '
https://cran.r-project.org/CRAN_mirrors.csv'); using local file 'C:/PROGRA~1/R/R-33~1.0/doc/CRAN_mirrors.csv'
Warning: unable to access index for repository
http://www.stats.ox.ac.uk/pub/RWin/src/contrib:
Line starting '<!DOCTYPE html ...' is malformed!
Warning in install.packages(NULL, .libPaths()[1L], dependencies = NA, type = type) :
'lib = "C:/Program Files/R/R-3.3.0/library"' is not writable
Error in install.packages(NULL, .libPaths()[1L], dependencies = NA, type = type) :
unable to install packages
In addition: Warning message:
In download.file(url, destfile = f, quiet = TRUE) :
InternetOpenUrl failed: ''
If it matters the book about it says
All R examples in the book assume you have loaded the
fpp2 package, available on CRAN, using library(fpp2). This will automatically load several other packages including
forecast and
ggplot2, as well as all the data used in the book. We have used v2.3 of the
fpp2 package and v8.12.0.9000 of the
forecast package in preparing this book. These can be installed from CRAN in the usual way. Earlier versions of the packages will not necessarily give the same results as those shown in this book.