Skip to content

[R-pkg-devel] Sweave vignette and bibtex

5 messages · Jarrod Hadfield, Duncan Murdoch, Michael Dewey +1 more

#
Hi,

I have a Sweave vignette in a package I have written. When building, the
citations are not put into the pdf - perhaps because two passes of the
tex file are required but only one is executed. Is there a way to force
two passes of the tex file?

Kind Regards,

Jarrod

The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
#
On 06/01/2021 6:20 a.m., Jarrod Hadfield wrote:
You should give a bit more detail (what exactly do you have in your 
vignettes directory? How are you processing it?), and maybe even a 
reproducible example if you can extract a minimal amount from the 
document and the .bib file.  I haven't used Sweave in a few years (I 
recommend switching to knitr's implementation of .Rnw processing), but I 
didn't have problems like yours in the past.

Duncan Murdoch
#
Dear Jarrod

It works for me with Sweave so perhaps we need some more details.

Michael
On 06/01/2021 11:20, Jarrod Hadfield wrote:

  
    
  
#
Dear Duncan and Michael,

Thank you for the quick replies. When trying to generate a reproducible 
example I realised I'd done something embarassingly stupid and the 
problem is now resolved.

Kind Regards,

Jarrod
On 06/01/2021 17:06, Michael Dewey wrote:
#
Sheepish grins may be good for character building, but MREs are good for solving problems. You can choose which you want first!  ;-)
On January 6, 2021 9:50:13 AM PST, Jarrod Hadfield <j.hadfield at ed.ac.uk> wrote: