lgr - A Fully Featured Logging Framework
A flexible, light-weight logging framework based on 'R6' classes. It supports hierarchical loggers, structured logging, output to plaintext, 'JSON', (rotating) files, and memory buffers. Additional appenders for 'Elasticsearch', 'Dynatrace', databases, email and push notifications, and more are available in the 'lgrExtra' package.
Last updated
log4jloggingr6
12.31 score 85 stars 117 dependents 155 scripts 30k downloadsdint - A Toolkit for Year-Quarter, Year-Month and Year-Isoweek Dates
S3 classes and methods to create and work with year-quarter, year-month and year-isoweek vectors. Basic arithmetic operations (such as adding and subtracting) are supported, as well as formatting and converting to and from standard R date types.
Last updated
datedatesmonthperiodquarterweek
6.66 score 15 stars 1 dependents 57 scripts 3.6k downloadstatoo - Combine and Export Data Frames
Functions to combine data.frames in ways that require additional effort in base R, and to add metadata (id, title, ...) that can be used for printing and xlsx export. The 'Tatoo_report' class is provided as a convenient helper to write several such tables to a workbook, one table per worksheet. Tatoo is built on top of 'openxlsx', but intimate knowledge of that package is not required to use tatoo.
Last updated
5.54 score 7 stars 25 scripts 204 downloadstestthis - Utils and 'RStudio' Addins to Make Testing Even More Fun
Utility functions and 'RStudio' addins for writing, running and organizing automated tests. Integrates tightly with the packages 'testthat', 'devtools' and 'usethis'. Hotkeys can be assigned to the 'RStudio' addins for running tests in a single file or to switch between a source file and the associated test file. In addition, testthis provides function to manage and run tests in subdirectories of the test/testthat directory.
Last updated
rstudiorstudio-addinrstudio-addinstestingtestthat
5.09 score 34 stars 18 scripts 677 downloadscolt - Command-Line Color Themes
A collection of command-line color styles based on the 'crayon' package. 'Colt' styles are defined in themes that can easily be switched, to ensure command line output looks nice on dark as well as light consoles.
Last updated
4.43 score 9 stars 1 dependents 2 scripts 242 downloadsrotor - Log Rotation and Conditional Backups
Conditionally rotate or back-up files based on their size or the date of the last backup; inspired by the 'Linux' utility 'logrotate'.
Last updated
backuplogginglogrotatelogrotation
4.28 score 12 stars 10 scripts 3.2k downloadslest - Vectorised Nested if-else Statements Similar to CASE WHEN in 'SQL'
Functions for vectorised conditional recoding of variables. case_when() enables you to vectorise multiple if and else statements (like 'CASE WHEN' in 'SQL'). if_else() is a stricter and more predictable version of ifelse() in 'base' that preserves attributes. These functions are forked from 'dplyr' with all package dependencies removed and behave identically to the originals.
Last updated
dplyrifelserecoding
4.04 score 22 stars 4 scripts 234 downloads