datey: Exact Date and Duration Arithmetic on an Annual Grid

Standardised mapping of dates onto a discrete annual grid, together with exact date and duration arithmetic. This matters when the primary unit is years but the input data uses dates. Examples are actuarial mortality experience analysis and valuation of life assurance and annuities, for which mortality rates are defined per year but experience and valuation data are typically defined using dates.

Version: 0.1.0
Depends: R (≥ 4.0.0)
LinkingTo: cpp11
Suggests: knitr, pillar, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-07-07
DOI: 10.32614/CRAN.package.datey (may not be active yet)
Author: Tim Gordon ORCID iD [aut, cre]
Maintainer: Tim Gordon <tim.gordon at btinternet.com>
BugReports: https://github.com/logmu-org/r-datey/issues
License: MIT + file LICENSE
URL: https://github.com/logmu-org/r-datey, https://r-datey.logmu.org/
NeedsCompilation: yes
Language: en-GB
Materials: README, NEWS
CRAN checks: datey results [issues need fixing before 2026-07-21]

Documentation:

Reference manual: datey.html , datey.pdf
Vignettes: Get started with datey (source, R code)
The datey specification (source, R code)
Why datey? (source, R code)

Downloads:

Package source: datey_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

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