[go: up one dir, main page]

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.2.2
Depends: R (≥ 4.0)
Imports: clipr, diffobj, dplyr, maybe, rlang, stringr, tibble
Suggests: knitr, lubridate, purrr, rmarkdown, testthat (≥ 3.1.4), tidyr
Published: 2024-03-20
DOI: 10.32614/CRAN.package.chronicler
Author: Bruno Rodrigues ORCID iD [aut, cre, cph]
Maintainer: Bruno Rodrigues <bruno at brodrigues.co>
BugReports: https://github.com/b-rodrigues/chronicler/issues
License: GPL (≥ 3)
NeedsCompilation: no
Materials: README NEWS
CRAN checks: chronicler results

Documentation:

Reference manual: chronicler.pdf
Vignettes: A non-mathematician's introduction to monads
The Maybe monad
A real world example

Downloads:

Package source: chronicler_0.2.2.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.