slider: Sliding Window Functions

Provides type-stable rolling window functions over any R data type. Cumulative and expanding windows are also supported. For more advanced usage, an index can be used as a secondary vector that defines how sliding windows are to be created.

Version: 0.3.1
Depends: R (≥ 3.6.0)
Imports: cli (≥ 3.6.1), rlang (≥ 1.1.1), vctrs (≥ 0.6.3), warp
LinkingTo: vctrs (≥ 0.6.3)
Suggests: covr, dplyr (≥ 1.0.0), knitr, lubridate, rmarkdown, testthat (≥ 3.0.0)
Published: 2023-10-12
DOI: 10.32614/CRAN.package.slider
Author: Davis Vaughan [aut, cre], Posit Software, PBC [cph, fnd]
Maintainer: Davis Vaughan <davis at>
License: MIT + file LICENSE
NeedsCompilation: yes
Materials: README NEWS
In views: TimeSeries
CRAN checks: slider results


Reference manual: slider.pdf
Vignettes: Row-wise iteration with slider
Getting started with slider
Converting from tsibble


Package source: slider_0.3.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): slider_0.3.1.tgz, r-oldrel (arm64): slider_0.3.1.tgz, r-release (x86_64): slider_0.3.1.tgz, r-oldrel (x86_64): slider_0.3.1.tgz
Old sources: slider archive

Reverse dependencies:

Reverse imports: activatr, feasts, LightLogR, rsample, sits, tidier, timetk, tsdataleaks
Reverse suggests: almanac, clock, lay, modeltime, reservoirnet, rstac, tidyindex, vetiver


Please use the canonical form to link to this page.