Convert Dates to Arbitrary Week Definitions
Overview
Which day a week starts depends heavily on the either the local or professional context. This package is designed to be a lightweight solution to easily switching between week-based date definitions.
CRAN MAINTENANCE
as.POSIXlt()method for aweek objects no longer converts dates to character before converting to POSIXlt
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 10includes a package overview page
- Examples that run
- 100%10 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 94%
- Return-value docs
- 83%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 83%
- Median days to close, 50 most recently updated closed issues
- 5
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
10 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/reconhub/aweek on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2021-03-21 · The repository has a site deploy workflow
Show all practicesHide 2 practices
Dependencies
Installing aweek adds no packages beyond those that come with R.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 1.0.3Latest
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 1.0.22021-01-04 · diff ↗
- 1.0.12020-04-29 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.0.02019-06-11 · diff ↗ ·
added 7 exports
as.aweek, change_week_start, factor_aweek, get_aweek, get_date, get_week_start, set_week_start - 0.2.22019-04-26 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 0.2.02019-03-09 · diff ↗
- 0.1.02019-03-06
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2019-03-06
- Total releases
- 7 / 7 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.0
- Download size
- 50 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("aweek")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-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.