Releases: trevorld/r-ledger
Releases · trevorld/r-ledger
ledger v2.0.11
register_beancount()andregister_hledger()now import a transactionidcolumn (#21).
Thanks @vikasrawal for suggestion.register_beancount()now coerces thedatecolumn to a "Date" object.
register_ledger()andregister_hledger()already did so.register_ledger()now trims thecommentcolumn withstringr::str_trim().
ledger v2.0.9
- The R packgae
{rio}has been downgraded from "Imports" to "Suggests".
Users who want to userio::import()orrio::convert()
will need to manually install{rio}.
ledger 2.0.7
- Fixes importing
hledgerdate for newer versions ofhledger(#19).
Thanks @chrislloyd for bug report and patch.
ledger 2.0.6
- Fixes bug when importing
hledgerfiles with amounts that use comma decimal marks and/or commodity prefixes (#18).
Thanks @StefanBRas for bug report. - System dependency for importing
hledgerfiles has been relaxed tohledger (>= 1.2). Previously depended onhledger (>=1.4).
ledger 2.0.4
- For
beancountfiles read in withregister_beancountwith the enddateargument set
we no longer use any price directives on the end date to determine market value
but only those strictly before the end date.
This matches the filtering of transactions and the newhledgermarket value behavior.
ledger 2.0.1
- For
ledgerfilesregisterno longer filters out transactions with amount equal to zero (#13).
ledger 2.0.0
Breaking changes
- Now
registerreturns atibbleinstead of adata.frame. - By default now reads in
beancountfiles using the output frombean-query
instead ofbean-reportfollowed up byhledger. - Most users of the
ledgerR package won't need to change any code.
New functions
- Now has
prune_coaandprune_coa_stringfunctions to help simplify plaintext accounting "Chart of Accounts" names to a given maximum depth. - Lower level
register_beancount,register_ledger, andregister_hledgerfunctions are now exported (and documented).
Minor improvements and fixes
registernow has adateargument than can be used to exclude transactions
(and implicitly price statements) before that date.registernow preserves transaction comments when importing ledger files (#16). Thanks Jenya Sovetkin for patch.registernow preserves tags when importing beancount files.