Skip to content

clock

0.7.4

Date-Time Types and Tools

25packages depend
1.9Mdownloads / year
74.8%test coverage
13/13checks pass

Overview

About
Maintained by Davis VaughanFirst published 2021-03-3114 releasesCRAN page ↗GitHub ↗

Provides a comprehensive library for date-time manipulations using a new family of orthogonal date-time classes (durations, time points, zoned-times, and calendars) that partition responsibilities so that the complexities of time zones are only considered when they are really needed. Capabilities include: date-time parsing, formatting, arithmetic, extraction and updating of components, and rounding.

Install

Health

CRAN checks
13OK
Slowest check: 10.4 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.82
74.8%
Coverage · measured lines
100%
Documentation · exports
5
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-05-02
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 758 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
98%
Return-value docs
98%
References docs
0%

Downloads

1.9M
CRAN downloads in the past year
Rank #302 · ~5.2K/day · ~158.8K/mo
Daily download trend is not available in this view yet.
109.5K30 days
386.7K90 days
1.9M1 year
Compare downloads with other packages →
Also on28.9K r2u22 autocran286.1K conda_forge5K c2d4u

Repository

Repository
110Stars
7Forks
21Open issues
3Open PRs
14Releases
1,096Commits
7Contributors
1,096 commits · Last activity 2026-04-06 · 0% stars, 30d

Stars over time

2025-08-08 · 1072026-07-07 · 110

Repository practices

Upstream repositoryBeta

9 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/r-lib/clock on 2026-08-09.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdrevdep/
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (3)
AirVS CodeRStudio project
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.0.0
LinkingTo (2)
Enhances (0)
none

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Copyright holders (1)
Copyright holder, Funder · added in 0.7.0
Funders (1)
Copyright holder, Funder · added in 0.7.0
Listed in earlier versions (2)
no longer listed · 0.1.0 to 0.6.1
no longer listed · 0.1.0 to 0.2.0
Package Timeline

14 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.7.4Latest
    2026-01-13 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.7.3
    2025-03-21 · diff ↗
  • 0.7.2
    2025-01-22 · diff ↗
  • 0.7.1
    2024-07-18 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.7.0
    2023-05-15 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.6.1
    2022-07-18 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.6.0
    2021-12-02 · diff ↗
  • 0.5.0
    2021-10-29 · diff ↗
  • 0.4.1
    2021-09-21 · diff ↗
  • 0.4.0
    2021-07-22 · diff ↗
  • 0.3.1
    2021-06-28 · diff ↗
Show 5 earlier events
  • R
    R 4.1.0 released · 2021-05-18
  • 0.3.0
    2021-04-22 · diff ↗
  • 0.2.0
    2021-04-12 · diff ↗
  • 0.1.0
    2021-03-31
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2021-03-31
Total releases
14 / 5 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.0.0
Bundled data
0.5 KB / 3 files
Download size
547 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("clock")
Vaughan, D., & Posit Software, PBC. (2026). clock: Date-Time Types and Tools (Version 0.7.4) [Computer software]. https://doi.org/10.32614/CRAN.package.clock

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 clock version 0.7.4 [Data set]. HJJB, LLC. Data release v2026-08-15. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-15, 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