sweep: Tidy Tools for Forecasting

Tidies up the forecasting modeling and prediction work flow, extends the 'broom' package with 'sw_tidy', 'sw_glance', 'sw_augment', and 'sw_tidy_decomp' functions for various forecasting models, and enables converting 'forecast' objects to "tidy" data frames with 'sw_sweep'.

Version: 0.2.6
Depends: R (≥ 3.3.0)
Imports: broom (≥ 0.5.6), dplyr (≥ 1.0.0), forecast (≥ 8.0), rlang, tibble (≥ 1.2), timetk (≥ 2.1.0)
Suggests: fracdiff, ggplot2, knitr, lubridate, purrr, readr, rmarkdown, scales, stringr, testthat (≥ 2.0.0), tidyr (≥ 1.0.0), tidyquant, zoo
Published: 2025-08-28
DOI: 10.32614/CRAN.package.sweep
Author: Matt Dancho [aut, cre], Davis Vaughan [aut]
Maintainer: Matt Dancho <mdancho at business-science.io>
BugReports: https://github.com/business-science/sweep/issues
License: GPL (≥ 3)
URL: https://business-science.github.io/sweep/, https://github.com/business-science/sweep
NeedsCompilation: no
Materials: README, NEWS
In views: TimeSeries
CRAN checks: sweep results

Documentation:

Reference manual: sweep.html , sweep.pdf
Vignettes: Introduction to sweep (source, R code)
Forecasting Time Series Groups in the tidyverse (source, R code)
Forecasting Using Multiple Models (source, R code)

Downloads:

Package source: sweep_0.2.6.tar.gz
Windows binaries: r-devel: sweep_0.2.6.zip, r-release: sweep_0.2.5.zip, r-oldrel: sweep_0.2.6.zip
macOS binaries: r-release (arm64): sweep_0.2.5.tgz, r-oldrel (arm64): sweep_0.2.5.tgz, r-release (x86_64): sweep_0.2.6.tgz, r-oldrel (x86_64): sweep_0.2.6.tgz
Old sources: sweep archive

Reverse dependencies:

Reverse imports: anomalize

Linking:

Please use the canonical form https://CRAN.R-project.org/package=sweep to link to this page.