[Rd] tiny bib glitch in src/librar/stats/man/spectrum.Rd
Ben Bolker
bbo|ker @end|ng |rom gm@||@com
Sat Mar 28 23:09:03 CET 2026
(I think I'm having bad R-devel karma these days.)
I hit some errors installing the latest r-devel, but they seem to
have been transient. In the meantime, while I was poking around I found
a minor issue (I think) with the use of the bibcitep macro in one of
the stats man pages.
R/src/library/stats/man/spectrum.Rd has the line:
\bibcitep{e.g.,|R:Bloomfield:1976|} or 1 and range
When running code to parse this I'm getting the warning
Warning: spectrum.Rd:66: Could not find bibentries for the following keys:
‘e.g.’
I think this is because the comma after "e.g." means that the arguments
of bibcitep are being interpreted as a comma-separated list of bibtex
keys: from WRE,
> Textual and parenthetical citations are obtained via, respectively,
\bibcitet and \bibcitep (the naming follows that of \citet and \citep in
the LaTeX natbib package (Daly 2010). These single-argument macros both
take either a comma-separated list of one or more keyspecs or a single
citespec of the form before|keyspec|after with both ‘|’ mandatory and
before and after possibly empty text to be inserted before and after the
citation if not empty.
More information about the R-devel
mailing list