almanac: Tools for Working with Recurrence Rules

Provides tools for defining recurrence rules and recurrence sets. Recurrence rules are a programmatic way to define a recurring event, like the first Monday of December. Multiple recurrence rules can be combined into larger recurrence sets. A full holiday and calendar interface is also provided that can generate holidays within a particular year, can detect if a date is a holiday, can respect holiday observance rules, and allows for custom holidays.

Version: 1.0.0
Depends: R (≥ 3.5.0)
Imports: cli (≥ 3.6.1), glue (≥ 1.6.2), lifecycle (≥ 1.0.3), lubridate (≥ 1.9.2), magrittr (≥ 2.0.3), R6 (≥ 2.5.1), rlang (≥ 1.1.0), V8 (≥ 4.2.2), vctrs (≥ 0.6.1)
Suggests: covr, knitr, rmarkdown, slider (≥ 0.3.0), testthat (≥ 3.0.0)
Published: 2023-04-13
DOI: 10.32614/CRAN.package.almanac
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: almanac results


Reference manual: almanac.pdf
Vignettes: Adjusting and shifting dates
Introduction to almanac
Holidays and calendars
iCalendar specification
Quarterly rules


Package source: almanac_1.0.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): almanac_1.0.0.tgz, r-oldrel (arm64): almanac_1.0.0.tgz, r-release (x86_64): almanac_1.0.0.tgz, r-oldrel (x86_64): almanac_1.0.0.tgz
Old sources: almanac archive


Please use the canonical form to link to this page.