Skip to content

date4ts

0.1.2

Wrangle and Modify Ts Object with Classic Frequencies and Exact Dates

1packages depend
2.7Kdownloads / year
16.2%test coverage
13/13checks pass

Overview

About
Maintained by Tanguy BarthelemyFirst published 2026-02-012 releasesCRAN page ↗GitHub ↗

The ts objects in R are managed using a very specific date format (in the form c(2022, 9) for September 2022 or c(2021, 2) for the second quarter of 2021, depending on the frequency, for example). We focus solely on monthly and quarterly series to manage the dates of ts objects. The general idea is to offer a set of functions to manage this date format without it being too restrictive or too imprecise depending on the rounding. This is a compromise between simplicity, precision and use of the basic 'stats' functions for creating and managing time series (ts(), window()). Les objets ts en R sont gérés par un format de date très particulier (sous la forme c(2022, 9) pour septembre 2022 ou c(2021, 2) pour le deuxième trimestre 2021 selon la fréquence par exemple). On se concentre uniquement sur les séries mensuelles et trimestrielles pour gérer les dates des objets ts. Lidée générale est de proposer un ensemble de fonctions pour gérer ce format de date sans que ce soit trop contraignant ou trop imprécis selon les arrondis. Cest un compromis entre simplicité, précision et utilisation des fonctions du package 'stats' de création et de gestion des séries temporelles (ts(), window()).

Install

Health

CRAN checks
13OK
Slowest check: 1.1 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 3.60
16.2%
Coverage · measured lines
100%
Documentation · exports
2
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-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 287 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

2.7K
CRAN downloads in the past year
Rank #7,062 · ~7/day · ~226/mo
Daily download trend is not available in this view yet.
31230 days
1.2K90 days
2.7K1 year
Compare downloads with other packages →
Also on70 r2u19 autocran

Repository

Repository
0Stars
0Forks
8Open issues
0Open PRs
2Releases
416Commits
4Contributors
datedatetimepackagerr-packagerstatstimeseriests
License GPL-3.0 · 416 commits · Last activity 2026-04-29

Releases over time

2024-09-12 · 12026-07-07 · 2

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/tractortom/date4ts on 2026-08-09.

Continuous integration (2)
GitHub ActionsGitLab CI
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.Rmd
Lint, format, editor (4)
lintrAirVS CodeRStudio project
Show all practices
Coverage (1)
Codecov
Governance and community (1)
Issue templates
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1
Imports (2)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

Datasets

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

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

  • 0.1.2Latest
    2026-04-29 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.1
    2026-03-10
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-02-01
Total releases
2 / 1 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.1
Bundled data
1.7 KB / 1 file
Download size
86 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("date4ts")
Barthelemy, T. (2026). date4ts: Wrangle and Modify Ts Object with Classic Frequencies and Exact Dates (Version 0.1.2) [Computer software]. https://doi.org/10.32614/CRAN.package.date4ts

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 date4ts version 0.1.2 [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