Skip to content

DTSg

A Class for Working with Time Series Data Based on 'data.table' and 'R6' with Largely Optional Reference Semantics

v2.1.0 · Mar 28, 2026 · MIT + file LICENSE

Description

Basic time series functionalities such as listing of missing values, application of arbitrary aggregation as well as rolling (asymmetric) window functions and automatic detection of periodicity. As it is mainly based on 'data.table', it is fast and (in combination with the 'R6' package) offers reference semantics. In addition to its native R6 interface, it provides an S3 interface for those who prefer the latter. Finally yet importantly, its functional approach allows for incorporating functionalities from many other packages.

Downloads

556

Last 30 days

7261st

1.3K

Last 90 days

5.4K

Last year

Trend: +25.5% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies checkmate data.table R6 timechange DTSg

Version History

updated 2.1.0 ← 2.0.0 diff Mar 28, 2026
new 2.0.0 Mar 10, 2026
updated 2.0.0 ← 1.1.3 diff Jan 20, 2025
updated 1.1.3 ← 1.1.1 diff Sep 26, 2023
updated 1.1.1 ← 1.0.0 diff Jun 7, 2022
updated 1.0.0 ← 0.8.1 diff May 1, 2022
updated 0.8.1 ← 0.7.1 diff Oct 26, 2021
updated 0.7.1 ← 0.7.0 diff May 29, 2021
updated 0.7.0 ← 0.6.0 diff Sep 4, 2020
updated 0.6.0 ← 0.5.0 diff Jul 11, 2020
updated 0.5.0 ← 0.4.1 diff Jun 8, 2020
updated 0.4.1 ← 0.4.0 diff May 7, 2020
updated 0.4.0 ← 0.3.0 diff Mar 27, 2020
updated 0.3.0 ← 0.2.1 diff Jan 7, 2020
updated 0.2.1 ← 0.2.0 diff Oct 19, 2019
updated 0.2.0 ← 0.1.3 diff Oct 13, 2019
updated 0.1.3 ← 0.1.2 diff Aug 28, 2019
new 0.1.2 Mar 12, 2019