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.
|Depends:||R (≥ 4.0)|
|Imports:||clipr, diffobj, dplyr, maybe, rlang, stringr, tibble|
|Suggests:||knitr, lubridate, purrr, rmarkdown, testthat (≥ 3.1.4), tidyr|
|Author:||Bruno Rodrigues [aut, cre, cph]|
|Maintainer:||Bruno Rodrigues <bruno at brodrigues.co>|
|License:||GPL (≥ 3)|
|CRAN checks:||chronicler results|
A non-mathematician's introduction to monads
The Maybe monad
A real world example
|Windows binaries:||r-devel: chronicler_0.2.1.zip, r-release: chronicler_0.2.0.zip, r-oldrel: chronicler_0.2.0.zip|
|macOS binaries:||r-release (arm64): chronicler_0.2.1.tgz, r-oldrel (arm64): chronicler_0.2.1.tgz, r-release (x86_64): chronicler_0.2.0.tgz, r-oldrel (x86_64): chronicler_0.2.0.tgz|
|Old sources:||chronicler archive|
Please use the canonical form https://CRAN.R-project.org/package=chronicler to link to this page.