Efficient Rolling Functions
Overview
Fast rolling-window functions for numeric vectors. Designed for efficient processing of environmental time-series data.
- Added a
min_validargument toroll_mean(),roll_median(),roll_max(),
roll_min(), roll_sum(), roll_prod(), roll_MAD() and roll_hampel(). A
window with fewer than min_valid non-NA values returns NA; supplying
min_valid implies NA-tolerant counting within each window. The default,
NULL, preserves the previous behavior.
roll_nowcast()now returns0rather thanNAfor a window whose values
are all zero.
widthorbylarger thanlength(x), and negativeweights, are now
rejected in R with clearer error messages.
- Clarified that
roll_MAD()returns the unscaled median absolute deviation,
equivalent to stats::mad(x, constant = 1).
- Documentation updates: rewrote the README, refreshed the vignette, and
Show all changes in 1.1.0Hide the rest of the changes in 1.1.0
expanded function-level help.
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-04-22
Show 2 earlier changesHide 2 earlier changes
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 14 (1 internal)includes a package overview page
- Examples that run
- 100%12 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
Stars over time
Releases over time
Commits over time
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/mazamascience/mazamarollutils on 2026-10-22.
GitHub Pages site last deployed 2026-09-01
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-04-28Seen in the repository: .claude, .claude/skills, CLAUDE.mdNamed in .Rbuildignore: .claude, CLAUDE.mdCommits: at least 11 crediting it in the message
- Claude Sonnet 511 commits · Sep 2026
Dependencies
Installing MazamaRollUtils adds 1 package (1 with compiled code, 1.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 1.1.0Latest
- RR 4.6.0 released · 2026-04-24
- 1.0.02026-03-17 · diff ↗ ·
removed 1 export
pattern:^[[:alpha:]]+added 12 exports
findOutliers, roll_hampel, roll_nowcast, roll_MAD, roll_max, roll_mean, roll_median, roll_min, roll_prod, roll_sd, roll_sum, roll_var - unarchivedReturned to CRAN2025-05-09
- 0.1.42025-05-09 · diff ↗
- archivedRemoved from CRAN2025-05-03issues were not corrected in time
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.1.32021-09-23
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2021-09-23
- Total releases
- 4 / 5 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.0.0
- Bundled data
- 5.9 KB / 1 file
- Download size
- 289 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("MazamaRollUtils")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.