Skip to content

log4r

0.5.0

A Fast and Lightweight Logging System for R, Based on 'log4j'

2packages depend
82.6Kdownloads / year
78.3%test coverage
13/13checks pass

Overview

About
Maintained by Hadley WickhamFirst published 2010-09-2514 releasesCRAN page ↗GitHub ↗

Provides a fast, lightweight, object-oriented approach to logging based on the widely-emulated 'log4j' system and etymology. Loggers write messages to one or more destinations, such as the console, a file, or a remote server, using a format you control. Messages below the chosen severity threshold are discarded cheaply, so logging calls can be left in production code.

Install

Health

CRAN checks
13OK
Slowest check: 2.4 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.46
78.3%
Coverage · measured lines
100%
Documentation · exports
3
Dependencies · direct
Check history
  • OK2026-08-05
    7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-16
    11 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 315 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
67%
Documented parameters
88%
Return-value docs
100%
References docs
0%

Downloads

82.6K
CRAN downloads in the past year
Rank #1,751 · ~226/day · ~6.9K/mo
Daily download trend is not available in this view yet.
1.9K30 days
13.5K90 days
82.6K1 year
Compare downloads with other packages →
Also on15.3K r2u10 autocran8.5K conda_forge84 c2d4u

Repository

Repository
101Stars
23Forks
10Open issues
2Open PRs
10Releases
214Commits
9Contributors
loggingr
214 commits · Last activity 2026-08-04

Repository practices

Upstream repositoryBeta

6 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/r-lib/log4r on 2026-08-16.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Lint, format, editor (3)
AirVS CodeRStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
2direct
0indirect

Code & Tests

People & History

People (6)
Maintainer (1)
Maintainer · added in 0.5.0
Authors (2)
Author · added in 0.3.0
Author, Copyright holder
Contributors (2)
Contributor · added in 0.2
Contributor · added in 0.2
Copyright holders (2)
Author, Copyright holder
Copyright holder, Funder · added in 0.5.0
Funders (1)
Copyright holder, Funder · added in 0.5.0
Package Timeline

14 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.5.0Latest
    2026-08-05 · current release · diff ↗
  • unarchivedReturned to CRAN
    2026-08-05
  • archivedRemoved from CRAN
    2026-07-14
    issues were not corrected in time despite reminder
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.4.4
    2024-10-12 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.4.3
    2022-11-28 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.4.2
    2021-11-04 · diff ↗
  • 0.4.1
    2021-10-28 · diff ↗
  • 0.4.0
    2021-10-26 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.3.2
    2020-01-18 · diff ↗
Show 19 earlier events
  • 0.3.1
    2019-09-04 · diff ↗
  • 0.3.0
    2019-06-21 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • 0.2
    2014-09-29 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • R
    R 3.0.0 released · 2013-04-03
  • R
    R 2.15.0 released · 2012-03-30
  • 0.1-4
    2012-03-01 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • 0.1-3
    2011-06-25 · diff ↗
  • 0.1-2
    2011-05-17 · diff ↗
  • R
    R 2.13.0 released · 2011-04-13
  • R
    R 2.12.0 released · 2010-10-15
  • 0.1-1
    2010-09-25
  • R
    R 2.11.0 released · 2010-04-22

Package metadata

First published
2010-09-25
Total releases
14 / 16 yrs
License
Artistic-2.0 OSI
Download size
47 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("log4r")
Wickham, H., Posit Software, PBC, Jacobs, A., Müller, K., White, J. M., & White, K. (2026). log4r: A Fast and Lightweight Logging System for R, Based on 'log4j' (Version 0.5.0) [Computer software]. https://doi.org/10.32614/CRAN.package.log4r

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for log4r version 0.5.0 [Data set]. HJJB, LLC. Data release v2026-08-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy