Skip to content

Pretty Time of Day

64packages dependsuggested by 36
10.1Mdownloads / year
69.5%test coverage
13/13flavors OK

Overview

About

Implements an S3 class for storing and formatting time-of-day values, based on the 'difftime' class.

Changes in 1.1.4

Features

  • Sub-second value parsing accurately (@eitsupi, #127, #128).
  • is.hms() and as.hms() now warn even when called indirectly (@moodymudskipper, #121, #163).
  • Implement ceiling_hms() and floor_hms() (@moodymudskipper, #118, #160).

Bug fixes

  • Parsing now holds the date part fixed, removing unlikely errors during clock wraparound.

Chore

  • Spring cleaning (@schochastics, #174, #175).
  • Use rlang instead of ellipsis (#106).

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.1.4
READMEYes · 260 wordsVignettesNoNEWSYes · 100% structured · mentions 1.1.4Citation fileNoWebsiteYes · pkgdown
Help pages
7 (2 internal)includes a package overview page
Examples that run
100%3 run in a plain check
Exported functions with examples
50%
Documented parameters
80%
Return-value docs
33%
Help pages citing references
0%

Downloads

10.1M
CRAN downloads in the past year
Rank #85 · ~27.8K/day · ~845.5K/mo
Daily download trend is not available in this view yet.
803.1K30 days
2.2M90 days
10.1M1 year
Compare downloads with other packages →
Also on155.5K r2u202 autocran1.3M conda_forge20.3K c2d4u

Repository

142Stars
32Forks
12Open issues
6Open PRs
15Releases
877Commits
22Commit identities
rtimehms
877 commits · Last activity 2026-10-11 · Default branch at 1.1.4.9027, ahead of CRAN 1.1.4 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
83%
Median days to close, 50 most recently updated closed issues
30
Median days to close, 50 most recently updated closed PRs
0

Forks over time

2026-07-14 · 292026-10-09 · 32
PracticesBeta

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

Checks run against github.com/tidyverse/hms on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux and Windows

Governance and community (4)
Code of conductContributing guideIssue templatesSupport guide
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-09-27 · The repository has a site deploy workflow

pkgdown site last built 2026-04-10

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

This repository shows signs of AI coding tools.

  • Claude Codefirst seen on or before 2026-05-16
    Commits: 1 by its own account · at least 34 crediting it in the message
From outside contributors
  • Claude Code
    Pull requests: 5 from outside contributors, first on 2026-09-12, 5 from forks
Models named in its commits
  • Claude Opus 58 commits · Aug to Sep 2026
  • Claude Opus 5.53 commits · Sep 2026
  • Claude Fable 51 commit · Aug 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

Installing hms adds 6 packages (4 with compiled code, 2.6 MB of source tarballs). Heaviest: vctrs 1.0 MB, rlang 766 KB, cli 629 KB.

Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none

People & History

People (3)
Author, Maintainer since 0.1 (2016)
Funder · added in 1.1.4
Funder · added in 1.0.0
Listed in earlier versions (2)
The R Consortium
no longer listed · 0.2 to 0.5.3
RStudio
no longer listed · 0.5.0 to 1.1.3
Releases (16)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.4Latest
    record
    2025-10-17 · current release · diff ↗ ·
    added 2 exports
    ceiling_hms, floor_hms
  • 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.1.3
    record
    2023-03-21 · diff ↗
  • 1.1.2
    record
    2022-08-19 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.1.1
    record
    2021-09-26 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.1.0
    record
    2021-05-17 · diff ↗
  • 1.0.0
    record
    2021-01-13 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.5.3
    record
    2020-01-09 · diff ↗
  • 0.5.2
    record
    2019-10-30 · diff ↗
  • 0.5.1
    record
    2019-08-23 · diff ↗
Show 12 earlier eventsHide 12 earlier events
  • 0.5.0
    record
    2019-07-09 · diff ↗ ·
    added 5 exports
    as_hms, is_hms, new_hms, vec_cast.hms, vec_ptype2.hms
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 0.4.2
    record
    2018-03-10 · diff ↗
  • 0.4.1
    record
    2018-01-24 · diff ↗
  • 0.4.0
    record
    2017-11-23 · diff ↗ ·
    added 4 exports
    parse_hm, parse_hms, round_hms, trunc_hms
  • R
    R 3.4.0 released · 2017-04-21
  • 0.3
    record
    2016-11-22 · diff ↗
  • 0.2
    record
    2016-06-17 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 0.1
    record
    2016-05-02
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2016-05-02
Total releases
16 / 10 yrs
License
MIT + file LICENSE OSI · relicensed from GPL-3 in 1.0.0
Download size
44 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("hms")
Müller, K., Posit Software, PBC, & R Consortium. (2025). hms: Pretty Time of Day (Version 1.1.4) [Computer software]. https://doi.org/10.32614/CRAN.package.hms

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 hms version 1.1.4 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, 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