bibtex 0.5.4
Snapshot tests now give the same output on every R version, fixing test failures on R-devel.
read.bib()now takes the year from BibLaTeX dates such as2020,2020/2021,1723~or-0044instead of dropping the entry, and keepsdateas written rather than padding2020-05to2020-05-01. Non-ISO dates such as17-05-2020also give the right year (#15, #56).-
read.bib()is more robust (#64):- Brace-less
@Commentlines, such as@Comment my comment, are now skipped instead of silently emptying the result. - A
%comment after an entry or a@Stringis now ignored instead of discarding the whole file. - A line starting with
@inside a braced field value, such as a wrapped e-mail address, now stays part of that field. - An empty file, or one holding only comments, now reads as an empty
bibentry()instead of erroring. - Warnings raised while parsing now reach the caller instead of aborting the parse.
- Errors now include the underlying cause, e.g.
Invalid bib file: Error when parsing strings of <file>.
- Brace-less
bibtex 0.5.2
CRAN release: 2026-02-03
Bug fix
- Fixed
read.bib()silently returning emptybibentry()when entries have trailing whitespace after closing brace (#59, PR #60).
bibtex 0.5.0
CRAN release: 2022-09-25
New Features
- The underlying parsing logic of bibtex files has been completely rewritten (huge thank you to Diego Hernangómez (@dieghernan), PR #47)
Unit Tests
- Unit tests are now using testthat version 3 (Diego Hernangómez (@dieghernan), PR #46).
bibtex 0.4.3
Bug fixes
- Applied CRAN stabilization patches. (#31, thanks Prof. Brian Ripley!)
- Removed dependency on
stringr. (#25, thanks @mllg) -
ArrangeAuthors()is now case insensitive when searching for and in an AND-joined list. (#22, thanks @katrinleinweber) -
findBibFile()now looks atinst/REFERENCES.bibin addition toREFERENCES.bib. (#19, thanks @ms609)
bibtex 0.4.0
CRAN release: 2014-12-31
- Removed the function
yy_fatal_errorwhich even though it was never actually called, triggered some R CMD check nuisance. - Removed useless dependency on Rcpp which bibtex no longer uses.
- Added cite by key functionality to
read.bib(pull request by Michael Koohafkan).
