bibtex now requires R 3.6.0 or later, which the parser already relied on, and no longer imports backports.
read.bib() now reads BibLaTeX dates such as
2020, 2020-05, 2020/2021,
1723~ and -0044, taking the year from each,
and gives the right year for non-ISO dates such as
17-05-2020 (@HughParsonage, #15; @Fifis, #56).
read.bib() now fills in journal from a
BibLaTeX journaltitle field, so @Article
entries that only have journaltitle are kept (@Fifis, #57).
read.bib() is more robust (@bastistician, #64):
@Comment lines, such as
@Comment my comment, are skipped and the rest of the file
is read.% comment on the same line as the closing brace of an
entry or a @String is ignored and the rest of the file is
read.@ but
does not open an entry, such as a wrapped e-mail address, stays part of
that field.@String with no closing brace, or one delimited by
parentheses, is reported as an error.Invalid bib file: unable to open file to read.do_read_bib() gets the same improvements and returns an
empty list for an empty or comment-only file.Snapshot tests now record the parsed entries rather than R’s printed output, so they pass on R 4.5.3 and later, including R-devel.
read.bib() silently returning empty
bibentry() when entries have trailing whitespace after
closing brace (#59, PR #60).bibentry formatting changes from
deparseLatex() updates in R 4.6.0.inst/NEWS.Rd to NEWS.md.as.personList(authors) with
do.call(c, authors) as requested by CRAN (PR #52).stringr. (#25, thanks @mllg)ArrangeAuthors() is now case insensitive when searching
for and in an AND-joined list. (#22, thanks @katrinleinweber)findBibFile() now looks at
inst/REFERENCES.bib in addition to
REFERENCES.bib. (#19, thanks @ms609)yy_fatal_error which even though
it was never actually called, triggered some R CMD check nuisance.read.bib (pull
request by Michael Koohafkan).write.bib contributed by Renaud
Gaujoux.% in error reporting in read.bib
(fix provided by Renaud Gaujoux).