Skip to content

clock

0.7.4Package record

Date-Time Types and Tools

23packages dependsuggested by 6
1.8Mdownloads / year
74.8%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.7.4
  • Avoid non-API SET_ATTRIB().

From NEWS.md in the release

Install

Health

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

none known

Documentation

In release 0.7.4
READMEYes · 758 wordsVignettesYes · 3 · dynamicNEWSYes · 100% structured · mentions 0.7.4Citation fileNoWebsiteYes · pkgdown

The repository also keeps web-only articles.

Help pages
177 (3 internal)includes a package overview page
Examples that run
100%174 run in a plain check
Exported functions with examples
98%
Documented parameters
98%
Return-value docs
98%
Help pages citing references
0%

Downloads

1.8M
CRAN downloads in the past year
Rank #320 · ~4.8K/day · ~147.2K/mo
Daily download trend is not available in this view yet.
112.7K30 days
328.2K90 days
1.8M1 year
Compare downloads with other packages →
Also on32K r2u13 autocran299.8K conda_forge17.8K c2d4u

Repository

r-lib/clock ↗Organization: r-lib
110Stars
7Forks
21Open issues
3Open PRs
14Releases
1,096Commits
7Commit identities
1,096 commits · Last activity 2026-01-13 · 0% stars, 30d · Default branch at 0.7.4.9000, ahead of CRAN 0.7.4 (checked 2026-10-18)
Responsiveness
How these are sampled
PRs merged (all time)
97%
Median days to close, 50 most recently updated closed issues
14
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-09-06 · 1082026-07-07 · 110
PracticesBeta

14 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/r-lib/clock on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Governance and community (1)
Code of conduct
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-01-13 · The repository has a site deploy workflow

pkgdown site last built 2026-01-13

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 3 practices
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdrevdep/
Lint, format, editor (3)
AirVS CodeRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)

Installing clock adds 7 packages (5 with compiled code, 3.5 MB of source tarballs). Heaviest: vctrs 1.0 MB, rlang 766 KB, cli 629 KB.

Depends (1)
R >= 4.0.0
LinkingTo (2)
Enhances (0)
none

Datasets

People & History

People (2)
Author, Maintainer since 0.1.0 (2021)
Copyright holder, Funder · added in 0.7.0
Listed in earlier versions (2)
RStudio
no longer listed · 0.1.0 to 0.6.1
no longer listed · 0.1.0 to 0.2.0
Releases (14)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.7.4Latest
    record
    2026-01-13 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.7.3
    record
    2025-03-21 · diff ↗
  • 0.7.2
    record
    2025-01-22 · diff ↗
  • 0.7.1
    record
    2024-07-18 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.7.0
    record
    2023-05-15 · diff ↗ ·
    added 11 exports
    as_year_week_day, calendar_spanning_seq, date_spanning_seq, date_time_info, date_time_set_zone, date_time_zone, duration_spanning_seq, is_year_week_day, time_point_spanning_seq, year_week_day, zoned_time_info
  • R
    R 4.3.0 released · 2023-04-21
  • 0.6.1
    record
    2022-07-18 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.6.0
    record
    2021-12-02 · diff ↗ ·
    added 3 exports
    calendar_count_between, date_count_between, time_point_count_between
  • 0.5.0
    record
    2021-10-29 · diff ↗ ·
    added 2 exports
    date_time_parse_RFC_3339, sys_time_parse_RFC_3339
  • 0.4.1
    record
    2021-09-21 · diff ↗
  • 0.4.0
    record
    2021-07-22 · diff ↗ ·
    added 5 exports
    calendar_end, calendar_start, date_end, date_start, invalid_remove
  • 0.3.1
    record
    2021-06-28 · diff ↗
Show 5 earlier eventsHide 5 earlier events
  • R
    R 4.1.0 released · 2021-05-18
  • 0.3.0
    record
    2021-04-22 · diff ↗ ·
    removed 2 exports
    zone_database_names, zone_database_version
    added 3 exports
    date_seq, tzdb_names, tzdb_version
  • 0.2.0
    record
    2021-04-12 · diff ↗ ·
    added 4 exports
    as_date, as_date_time, date_now, date_today
  • 0.1.0
    record
    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
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 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 clock version 0.7.4 [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