Skip to content

dttr2

0.5.2Package record

Manipulate Date, POSIXct and hms Vectors

1packages depend
5.3Kdownloads / year
93.6%test coverage
8/13flavors OK

Overview

About
Maintained by Ayla PearsonCRAN page ↗GitHub ↗Website ↗Issues ↗Declared funder: Poisson Consulting

Manipulates date ('Date'), date time ('POSIXct') and time ('hms') vectors. Date/times are considered discrete and are floored whenever encountered. Times are wrapped and time zones are maintained unless explicitly altered by the user.

Changes in 0.5.2
  • Updated how S3 methods are registered so internal methods do not overwrite S3 methods.

From NEWS.md in the release

Install

Health

CRAN checks
5NOTE8OK
Check messages
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names:
  dttr2/tests/testthat/test-season.R (.Label: 2)
'.Label' should be changed to 'levels'.

CRAN check page ↗

Slowest check: 1.9 min · r-oldrel-windows-x86_64
Status changes
  • NOTE8 OK, 5 NOTENow
  • NOTE11 OK, 2 NOTE2026-07-16
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.5.2
READMEYes · 360 wordsVignettesNoNEWSYes · 100% structured · mentions 0.5.2Citation fileNoWebsiteYes · pkgdown
Help pages
67 (2 internal)includes a package overview page
Examples that run
93%51 run in a plain check · 4 never run
Exported functions with examples
86%
Documented parameters
99%
Return-value docs
94%
Help pages citing references
0%

Downloads

5.3K
CRAN downloads in the past year
Rank #6,171 · ~15/day · ~444/mo
Daily download trend is not available in this view yet.
62730 days
1.4K90 days
5.3K1 year
Compare downloads with other packages →
Also on75 r2u2 autocran

Repository

15Stars
3Forks
5Open issues
0Open PRs
5Releases
486Commits
13Commit identities
cran
486 commits · Last activity 2026-10-20 · +7.1% stars, 30d · Default branch at 0.5.2.9013, ahead of CRAN 0.5.2 (checked 2026-10-18)
Responsiveness
How these are sampled
PRs merged (all time)
61%
Median days to close, 50 most recently updated closed issues
27
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2025-05-05 · 132026-10-09 · 15
PracticesBeta

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

Checks run against github.com/poissonconsulting/dttr2 on 2026-10-18.

Continuous integration (1)
GitHub Actions
Governance and community (4)
Code of conductContributing guideCODEOWNERSSupport guide
Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-07-19

pkgdown site last built 2026-07-19

Coverage (2)
Coverage reporting (Codecov).covrignore
Show all practicesHide 2 practices
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 2026-02-19
    Pull request it wrote: opened by a project member
    Commits: 2 by its own account · at least 11 crediting it in the message
From outside contributors
  • Claude Code
    Pull requests: 1 from outside contributors, first on 2026-06-08
Models named in its commits
  • Claude Opus 4.85 commits · Jun 2026
  • Claude Opus 4.63 commits · Feb 2026
  • Claude Fable 52 commits · Jul 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
6 external dependencies (excludes base and recommended)

Installing dttr2 adds 8 packages (4 with compiled code, 3.3 MB of source tarballs). Heaviest: vctrs 1.0 MB, rlang 766 KB, chk 687 KB.

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

People & History

People (3)
Author, Maintainer since 0.4.2 (2022) · added in 0.4.2
Copyright holder, Funder · added in 0.1.0

Previously maintained by Joe Thorley (0.0.1 to 0.4.1).

Releases (11)

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
  • 0.5.2Latest
    record
    2024-09-26 · current release · diff ↗
  • 0.5.1
    record
    2024-09-13 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.5.0
    record
    2023-11-14 · diff ↗ ·
    added 4 exports
    dtt_date_from_ints, dtt_date_time_from_ints, dtt_excel_to_date_time, dtt_time_from_ints
  • R
    R 4.3.0 released · 2023-04-21
  • 0.4.2
    record
    2022-09-26 · diff ↗
  • 0.4.1
    record
    2022-08-26 · diff ↗ ·
    added 1 export
    dtt_excel_to_date
  • R
    R 4.2.0 released · 2022-04-22
  • 0.4.0
    record
    2021-09-19 · diff ↗ ·
    added 10 exports
    dtt_day_decimal, dtt_days_in_month, dtt_days_in_year, dtt_decade, dtt_doy_decimal, dtt_hour_decimal, dtt_leap_year, dtt_minute_decimal, dtt_month_decimal, dtt_year_decimal
  • R
    R 4.1.0 released · 2021-05-18
  • 0.3.0
    record
    2020-07-10 · diff ↗ ·
    added 6 exports
    dtt_sys_date, dtt_sys_date_time, dtt_sys_time, is_date, is_date_time, is_time
  • 0.2.0
    record
    2020-05-01 · diff ↗ ·
    added 7 exports
    dtt_date<-, dtt_time<-, dtt_date_add_time, dtt_diff, dtt_set_date, dtt_set_time, dtt_wday
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.0
    record
    2020-03-04 · diff ↗ ·
    added 2 exports
    chk_time, vld_time
Show 3 earlier eventsHide 3 earlier events

Package metadata

First published
2019-06-28
Total releases
11 / 7 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.0
Download size
64 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("dttr2")
Pearson, A., Poisson Consulting, & Thorley, J. (2024). dttr2: Manipulate Date, POSIXct and hms Vectors (Version 0.5.2) [Computer software]. https://doi.org/10.32614/CRAN.package.dttr2

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 dttr2 version 0.5.2 [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