dtlog: Logging for 'data.table' Operations

Provides feedback about 'data.table' operations. 'dtlog' redefines the subsetting method for data tables as well as several functions exported by 'data.table' so that each operation prints a short message describing what it did: how many rows were removed, which columns were added, updated or dropped, how many groups an aggregation produced, and so on. The operations themselves are left untouched, including modification by reference. It also provides dttable(), which describes the variables a single data table holds and passes every other call on to base::table() unchanged. Inspired by the 'tidylog' package.

Version: 0.1.0
Depends: R (≥ 3.5.0)
Imports: data.table (≥ 1.14.0), stats, utils
Suggests: testthat (≥ 3.0.0), dplyr, tidyr, tidylog, tibble, knitr, rmarkdown
Published: 2026-09-15
DOI: 10.32614/CRAN.package.dtlog (may not be active yet)
Author: Akihiro Shiroshita ORCID iD [aut, cre, cph]
Maintainer: Akihiro Shiroshita <akihirokun8 at gmail.com>
BugReports: https://github.com/AkiShiroshita/dtlog/issues
License: MIT + file LICENSE
URL: https://github.com/AkiShiroshita/dtlog, https://akishiroshita.github.io/dtlog/
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: dtlog results

Documentation:

Reference manual: dtlog.html , dtlog.pdf
Vignettes: Logging a data.table pipeline (source, R code)

Downloads:

Package source: dtlog_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=dtlog to link to this page.