Skip to content

aweek

1.0.3Package record

Convert Dates to Arbitrary Week Definitions

2packages depend
28.8Kdownloads / year
100.0%test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.0.3

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

CRAN checks
13OK
Slowest check: 1.1 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0.3
README· In the repository, left out of the releaseVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.0.3Citation fileNoWebsiteYes · pkgdown
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

28.8K
CRAN downloads in the past year
Rank #2,230 · ~79/day · ~2.4K/mo
Daily download trend is not available in this view yet.
1.7K30 days
7.7K90 days
28.8K1 year
Compare downloads with other packages →
Also on230 r2u19 autocran94 c2d4u

Repository

17Stars
4Forks
4Open issues
1Open PRs
7Releases
160Commits
2Commit identities
rr-packagetimeseriesdatesdate-formattingweekepidemiology
160 commits · Last activity 2021-03-21 · The default branch showed an older version (1.0.2) than CRAN on 2026-10-18
Responsiveness
How these are sampled
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

2024-04-01 · 172026-07-07 · 17
PracticesBeta

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.

Continuous integration (3)
GitHub ActionsR CMD check workflowAppVeyor

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (1)
Code of conduct
Docs source (3)
README.Rmd

GitHub Pages site last deployed 2021-03-21 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 2 practices
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
lintr
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing aweek adds no packages beyond those that come with R.

Depends (1)
R >= 3.0
Imports (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
2direct
7indirect
Imports 2
Depends, Imports or LinkingTo, most downloaded first

People & History

People (1)
Author, Maintainer since 0.1.0 (2019)
Releases (7)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.3Latest
    record
    2022-10-06 · current release · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.0.2
    record
    2021-01-04 · diff ↗
  • 1.0.1
    record
    2020-04-29 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.0.0
    record
    2019-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.2
    record
    2019-04-26 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.2.0
    record
    2019-03-09 · diff ↗
  • 0.1.0
    record
    2019-03-06
  • R
    R 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")
Kamvar, Z. N. (2022). aweek: Convert Dates to Arbitrary Week Definitions (Version 1.0.3) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for aweek version 1.0.3 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy