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.0
Depends: R (≥ 3.4.0)
Imports: cli (≥ 3.4.1), rlang (≥ 1.0.6), vctrs (≥ 0.5.0), warp
LinkingTo: vctrs (≥ 0.5.0)
Suggests: covr, dplyr (≥ 1.0.0), knitr, lubridate, rmarkdown, testthat (≥ 3.0.0)
Published: 2022-11-16
Author: Davis Vaughan [aut, cre], RStudio [cph, fnd]
Maintainer: Davis Vaughan <davis at>
License: MIT + file LICENSE
NeedsCompilation: yes
SystemRequirements: C++11
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.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): slider_0.3.0.tgz, r-oldrel (arm64): slider_0.3.0.tgz, r-release (x86_64): slider_0.3.0.tgz, r-oldrel (x86_64): slider_0.3.0.tgz
Old sources: slider archive

Reverse dependencies:

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


Please use the canonical form to link to this page.