To cite the forecast package, use:

Hyndman RJ (2016). forecast: Forecasting functions for time series and linear models. R package version 7.3, http://github.com/robjhyndman/forecast.

Hyndman RJ and Khandakar Y (2008). “Automatic time series forecasting: the forecast package for R.” Journal of Statistical Software, 26(3), pp. 1–22. http://www.jstatsoft.org/article/view/v027i03.

Corresponding BibTeX entries:

  @Manual{,
    title = {{forecast}: Forecasting functions for time series and
      linear models},
    author = {Rob J Hyndman},
    year = {2016},
    note = {R package version 7.3},
    url = {http://github.com/robjhyndman/forecast},
  }
  @Article{,
    title = {Automatic time series forecasting: the forecast package
      for {R}},
    author = {Rob J Hyndman and Yeasmin Khandakar},
    journal = {Journal of Statistical Software},
    volume = {26},
    number = {3},
    pages = {1--22},
    year = {2008},
    url = {http://www.jstatsoft.org/article/view/v027i03},
  }