Error in re-building vignettes:
  ...
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called ‘R2jags’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/glmmBUGS.Rcheck/vign_test/glmmBUGS/vignettes'
xelatex -interaction=nonstopmode jags.tex;
This is XeTeX, Version 3.14159265-2.6-0.99998 (TeX Live 2017) (preloaded format=xelatex)
 restricted \write18 enabled.
entering extended mode
(./jags.tex
LaTeX2e <2017-04-15>
Babel <3.18> and hyphenation patterns for 57 language(s) loaded.
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/size12.clo))
(/usr/local/texlive/2017/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/local/texlive/2017/texmf-dist/tex/generic/ifxetex/ifxetex.sty))
(/data/gannet/ripley/R/R-devel/share/texmf/tex/latex/Sweave.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/local/texlive/2017/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2017/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/local/texlive/2017/texmf-dist/tex/latex/graphics-def/xetex.def)))
(/usr/local/texlive/2017/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
Style option: `fancyvrb' v2.7a, with DG/SPQR fixes, and firstline=lastline fix 
<2008/02/07> (tvz))
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/textcomp.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/ts1enc.def))
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/t1enc.def)
(/usr/local/texlive/2017/texmf-dist/tex/latex/lm/t1lmr.fd))
(/usr/local/texlive/2017/texmf-dist/tex/latex/ae/ae.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/t1enc.def)
(/usr/local/texlive/2017/texmf-dist/tex/latex/ae/t1aer.fd))))
No file jags.aux.
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/ts1cmr.fd)
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
(/usr/local/texlive/2017/texmf-dist/tex/latex/ae/t1aett.fd)
(/data/gannet/ripley/R/R-devel/share/texmf/tex/latex/ts1aett.fd)
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/ts1cmtt.fd) [1]Syntax Error: Invalid page count 0
Syntax Error: Cannot allocate page cache

xdvipdfmx:fatal: File ended prematurely


Output file removed.
make[1]: *** [Makefile:10: jags.pdf] Segmentation fault (core dumped)
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/glmmBUGS.Rcheck/vign_test/glmmBUGS/vignettes'
Error in buildVignettes(dir = "/data/gannet/ripley/R/packages/tests-devel/glmmBUGS.Rcheck/vign_test/glmmBUGS") : 
  running 'make' failed
Execution halted