chronicler: Add Logging to Functions

Decorate functions to make them return enhanced output. The enhanced output consists in an object of type 'chronicle' containing the result of the function applied to its arguments, as well as a log detailing when the function was run, what were its inputs, what were the errors (if the function failed to run) and other useful information. Tools to handle decorated functions are included, such as a forward pipe operator that makes chaining decorated functions possible.

Version: 0.3.0
Depends: R (≥ 4.1.0)
Imports: diffobj, dplyr, ggplot2, maybe, rlang, tibble, utils
Suggests: clipr, knitr, lubridate, openxlsx, purrr, rmarkdown, testthat, tidyr
Published: 2025-08-18
Author: Bruno Rodrigues ORCID iD [aut, cre, cph], Matouš Eibich [ctb]
Maintainer: Bruno Rodrigues <bruno at brodrigues.co>
License: GPL (≥ 3)
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: chronicler results

Documentation:

Reference manual: chronicler.html , chronicler.pdf
Vignettes: a-non-mathematician-s-introduction-to-monads (source, R code)
a-real-world-example (source, R code)
Recording ggplot Objects with chronicler (source, R code)
the-maybe-monad (source, R code)

Downloads:

Package source: chronicler_0.3.0.tar.gz
Windows binaries: r-devel: chronicler_0.2.2.zip, r-release: chronicler_0.2.2.zip, r-oldrel: chronicler_0.2.2.zip
macOS binaries: r-release (arm64): chronicler_0.2.2.tgz, r-oldrel (arm64): chronicler_0.2.2.tgz, r-release (x86_64): chronicler_0.2.2.tgz, r-oldrel (x86_64): chronicler_0.2.2.tgz
Old sources: chronicler archive

Linking:

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