Skip to content

ledger

2.1.1Package record

Utilities for Importing Data from Plain Text Accounting Files

0packages depend
3.7Kdownloads / year
13.1%test coverage
13/13flavors OK

Overview

About

Utilities for querying plain text accounting files from 'Ledger', 'HLedger', and 'Beancount'.

Changes in 2.1.1

New features

------------

  • For beancount files we now support rustledger (>= 0.15.0) in addition to bean-query (#28):
  • net_worth() and register() now support toolchain = "bean-query" and toolchain = "rledger" (in addition to "ledger", "hledger", and "beancount").
  • register_rledger() added to support the "rledger" toolchain from rustledger (>= 0.15.0).
  • register_bean_query() added to explicitly support the "bean-query" toolchain that directly uses the bean-query binary.
  • register_beancount() continues to use bean-query if present but if bean-query is not present it now falls back to rledger. Hence the "beancount" toolchain now works if either beanquery or rustledger are installed.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.4 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2.1.1
READMEYes · 501 wordsVignettesNoNEWSYes · 33% structured · mentions 2.1.1Citation fileNoWebsiteYes
Help pages
4
Examples that run
67%2 run in a plain check · 1 never run
Exported functions with examples
75%
Documented parameters
100%
Return-value docs
50%
Help pages citing references
0%

Downloads

3.7K
CRAN downloads in the past year
Rank #9,527 · ~10/day · ~308/mo
Daily download trend is not available in this view yet.
39930 days
1K90 days
3.7K1 year
Compare downloads with other packages →
Also on81 r2u2 autocran

Repository

47Stars
2Forks
2Open issues
0Open PRs
9Releases
166Commits
2Commit identities
plaintext-accountingledgerhledgerbeancount
166 commits · Last activity 2026-06-13 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
88%
Median days to close, 50 most recently updated closed issues
86
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-08-07 · 422026-09-06 · 47
PracticesBeta

15 development-tooling and community-health practices detected across 8 families in the upstream repository

Checks run against github.com/trevorld/r-ledger on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (3)
Contributing guideFunding

Funding links: GitHub Sponsors

The repository owner accepts GitHub Sponsors

Docs source (2)
README.Rmdpkgdown
Coverage (1)
Coverage reporting
Show all practicesHide 4 practices
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Automation and maintenance (1)
pre-commit
Lint, format, editor (4)
lintrLint workflowAirEditorConfig
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-03-28
    Named in .Rbuildignore: .claude
    Named in .gitignore: .claude
    Commits: at least 8 crediting it in the message
Models named in its commits
  • Claude Sonnet 4.68 commits · Mar to Jun 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing ledger adds 20 packages (12 with compiled code, 18 MB of source tarballs). Heaviest: stringi 11 MB, vctrs 1.0 MB, dplyr 902 KB.

Depends (0)
none
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (3)
Author, Maintainer · added in 2.0.11
Contributor · added in 2.0.7
Contributor · added in 2.0.0

Maintainer since 1.0.1 (2018)

Listed in earlier versions (1)
no longer listed · 1.0.1 to 2.0.9
Releases (11)

Pick two releases to compare their code metrics.

  • 2.1.1Latest
    record
    2026-06-12 · current release · diff ↗ ·
    added 2 exports
    register_bean_query, register_rledger
  • R
    R 4.6.0 released · 2026-04-24
  • 2.0.13
    record
    2026-03-30 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 2.0.11
    record
    2024-05-20 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 2.0.9
    record
    2021-11-12 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 2.0.7
    record
    2020-05-18 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 2.0.6
    record
    2020-02-16 · diff ↗
  • 2.0.4
    record
    2019-10-21 · diff ↗
  • 2.0.2
    record
    2019-09-03 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
Show 4 earlier eventsHide 4 earlier events
  • 2.0.1
    record
    2019-03-22 · diff ↗
  • 2.0.0
    record
    2019-01-15 · diff ↗ ·
    added 5 exports
    prune_coa, prune_coa_string, register_beancount, register_hledger, register_ledger
  • 1.0.1
    record
    2018-08-30
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2018-08-30
Total releases
11 / 8 yrs
License
MIT + file LICENSE OSI
Download size
96 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("ledger")
Davis, T. L., Lloyd, C., & Sovetkin, J. (2026). ledger: Utilities for Importing Data from Plain Text Accounting Files (Version 2.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.ledger

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 ledger version 2.1.1 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, 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