Error(s) in re-building vignettes:
--- re-building ‘amelia.Rnw’ using Sweave
Loading required package: Amelia
Loading required package: Rcpp
## 
## Amelia II: Multiple Imputation
## (Version 1.7.5, built: 2018-05-07)
## Copyright (C) 2005-2019 James Honaker, Gary King and Matthew Blackwell
## Refer to http://gking.harvard.edu/amelia/ for more information
## 
Loading required package: Zelig
Loading required package: survival
Error: package or namespace load failed for ‘Zelig’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
 there is no package called ‘openxlsx’

Error: processing vignette 'amelia.Rnw' failed with diagnostics:
 chunk 64 
Error in eval(expr, .GlobalEnv) : object 'zls' not found

--- failed re-building ‘amelia.Rnw’

pdflatex \amelia
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./amelia.tex
LaTeX2e <2017-04-15>
Babel <3.10> and hyphenation patterns for 84 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/base/fontenc.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/t1enc.def))
(/Library/Frameworks/R.framework/Resources/share/texmf/tex/latex/Rd.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/local/texlive/2017/texmf-dist/tex/latex/tools/longtable.sty)
(/usr/local/texlive/2017/texmf-dist/tex/latex/tools/bm.sty)
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/alltt.sty)
(/usr/local/texlive/2017/texmf-dist/tex/latex/tools/verbatim.sty)
(/usr/local/texlive/2017/texmf-dist/tex/latex/url/url.sty)
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/textcomp.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/ts1enc.def)))
(/Library/Frameworks/R.framework/Resources/share/texmf/tex/latex/Sweave.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/graphics/keyval.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/pdftex.def
(/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))))
(/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/fontenc.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/t1enc.def))
(/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))))
(/usr/local/texlive/2017/texmf-dist/tex/latex/upquote/upquote.sty)
(/usr/local/texlive/2017/texmf-dist/tex/latex/oberdiek/epstopdf.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/oberdiek/grfext.sty
(/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty))
(/usr/local/texlive/2017/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/ifluatex.sty))))
(/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
(/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/ifpdf.sty))
(/usr/local/texlive/2017/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg)))
(/usr/local/texlive/2017/texmf-dist/tex/latex/natbib/natbib.sty)
(/usr/local/texlive/2017/texmf-dist/tex/latex/setspace/setspace.sty)
(/usr/local/texlive/2017/texmf-dist/tex/latex/preprint/fullpage.sty)
(/usr/local/texlive/2017/texmf-dist/tex/latex/caption/caption.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/caption/caption3.sty)
(/usr/local/texlive/2017/texmf-dist/tex/latex/caption/ltcaption.sty))
(/usr/local/texlive/2017/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/local/texlive/2017/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/local/texlive/2017/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/local/texlive/2017/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/local/texlive/2017/texmf-dist/tex/latex/amscls/amsthm.sty)
(/usr/local/texlive/2017/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/usr/local/texlive/2017/texmf-dist/tex/latex/tools/enumerate.sty)
(/usr/local/texlive/2017/texmf-dist/tex/latex/tools/dcolumn.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/tools/array.sty))
(/usr/local/texlive/2017/texmf-dist/tex/latex/pgf/frontendlayer/tikz.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.te
x
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-li
sts.tex))
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def
(/usr/local/texlive/2017/texmf-dist/tex/latex/ms/everyshi.sty))
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex))
(/usr/local/texlive/2017/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.c
ode.tex))
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.d
ef
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-p
df.def)))
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.
code.tex)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.
code.tex)) (/usr/local/texlive/2017/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/graphics-cfg/color.cfg))
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex
)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.
tex
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic
.code.tex)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigo
nometric.code.tex)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.rando
m.code.tex)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.compa
rison.code.tex)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.
code.tex)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round
.code.tex)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.
code.tex)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integ
erarithmetics.code.tex)))
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex)
)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.co
de.tex)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathconst
ruct.code.tex)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathusage
.code.tex)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescopes.co
de.tex)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraphicst
ate.code.tex)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransform
ations.code.tex)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.cod
e.tex)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreobjects.c
ode.tex)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathproce
ssing.code.tex)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.co
de.tex)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreshade.cod
e.tex)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreimage.cod
e.tex
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreexternal.
code.tex))
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/basiclayer/pgfcorelayers.co
de.tex)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretranspare
ncy.code.tex)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepatterns.
code.tex)))
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/modules/pgfmoduleshapes.cod
e.tex)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.code.
tex)
(/usr/local/texlive/2017/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version
-0-65.sty)
(/usr/local/texlive/2017/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version
-1-18.sty))
(/usr/local/texlive/2017/texmf-dist/tex/latex/pgf/utilities/pgffor.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/pgf/utilities/pgfkeys.sty
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex)
) (/usr/local/texlive/2017/texmf-dist/tex/latex/pgf/math/pgfmath.sty
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex))
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex)))
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.cod
e.tex
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/libraries/pgflibraryplothan
dlers.code.tex)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/modules/pgfmodulematrix.cod
e.tex)
(/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibrarytopaths.code.tex)))
(/usr/local/texlive/2017/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
(/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty))
(/usr/local/texlive/2017/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/local/texlive/2017/texmf-dist/tex/latex/oberdiek/auxhook.sty)
(/usr/local/texlive/2017/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/local/texlive/2017/texmf-dist/tex/latex/latexconfig/hyperref.cfg))

Package hyperref Message: Driver: hpdftex.

(/usr/local/texlive/2017/texmf-dist/tex/latex/hyperref/hpdftex.def
(/usr/local/texlive/2017/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty))
(/usr/local/texlive/2017/texmf-dist/tex/latex/vmargin/vmargin.sty
Package: vmargin 2004/07/15 V2.5 set document margins (VK)
)
No file amelia.aux.
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/ts1cmr.fd)
(/usr/local/texlive/2017/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) ABD: EveryShipout initializing macros
(/usr/local/texlive/2017/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))
(/usr/local/texlive/2017/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/usr/local/texlive/2017/texmf-dist/tex/latex/amsfonts/umsb.fd) [1{/usr/local/t
exlive/2017/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]

Package natbib Warning: Citation `HonJosKin98' on page 2 undefined on input lin
e 113.


Package natbib Warning: Citation `HonKin10' on page 2 undefined on input line 1
26.

(/usr/local/texlive/2017/texmf-dist/tex/latex/ae/t1aett.fd) [2]

Package natbib Warning: Citation `Schafer97' on page 3 undefined on input line 
167.


Package natbib Warning: Citation `SchOls98' on page 3 undefined on input line 1
67.


LaTeX Warning: Reference `sec:trans' on page 3 undefined on input line 169.

[3]

Package natbib Warning: Citation `DemLaiRub77' on page 4 undefined on input lin
e 224.


Package natbib Warning: Citation `HonKin10' on page 4 undefined on input line 2
30.


Package natbib Warning: Citation `KinTomWit00' on page 4 undefined on input lin
e 247.

[4] (/usr/local/texlive/2017/texmf-dist/tex/latex/ae/t1aess.fd) [5] [6]

Package natbib Warning: Citation `MilKub05' on page 7 undefined on input line 4
69.


Package natbib Warning: Citation `MilKub05' on page 7 undefined on input line 4
87.

(/Library/Frameworks/R.framework/Resources/share/texmf/tex/latex/ts1aett.fd)
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/ts1cmtt.fd) [7]

Package natbib Warning: Citation `MilKub05' on page 8 undefined on input line 5
36.

[8]

LaTeX Warning: Reference `sec:tscs' on page 9 undefined on input line 605.

[9] <amelia-hist1.pdf, id=105, 505.89pt x 505.89pt> <use amelia-hist1.pdf>
[10] [11 <./amelia-hist1.pdf>]

LaTeX Warning: Reference `sec:analysis' on page 12 undefined on input line 724.


[12] [13]

LaTeX Warning: Reference `sec:prior' on page 14 undefined on input line 841.

[14]
Overfull \hbox (18.17586pt too wide) in paragraph at lines 901--912
[]\T1/aer/m/n/12 On Unix-alike sys-tems (such as Mac OS X and Linux dis-tri-bu-
tions), the \T1/aett/m/n/12 "multicore"

Package natbib Warning: Citation `KinHonJos01' on page 15 undefined on input li
ne 921.


Package natbib Warning: Citation `Schafer97' on page 15 undefined on input line
 930.


Package natbib Warning: Citation `KinHonJos01' undefined on input line 931.

[15] [16] [17]

LaTeX Warning: Reference `sec:prior' on page 18 undefined on input line 1073.


LaTeX Warning: Reference `fig:logshist' on page 18 undefined on input line 1086
.

<amelia-hist2.pdf, id=159, 722.7pt x 433.62pt> <use amelia-hist2.pdf> [18 <./am
elia-hist2.pdf>] [19]

LaTeX Warning: Reference `fig:tcomp' on page 20 undefined on input line 1227.

<amelia-timecompare.pdf, id=180, 722.7pt x 433.62pt>
<use amelia-timecompare.pdf> [20]

Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref)                removing `math shift' on input line 1282.


Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref)                removing `math shift' on input line 1282.

[21 <./amelia-timecompare.pdf>] [22]

LaTeX Warning: Reference `fig:tcomp2' on page 23 undefined on input line 1360.

<amelia-timecomp2.pdf, id=206, 722.7pt x 433.62pt> <use amelia-timecomp2.pdf>

Package natbib Warning: Citation `HonKin10' on page 23 undefined on input line 
1397.

[23 <./amelia-timecomp2.pdf>] [24]

LaTeX Warning: Reference `sec:trans' on page 25 undefined on input line 1525.

[25] [26]

LaTeX Warning: Reference `fig:bcomp' on page 27 undefined on input line 1602.

<amelia-boundscomp.pdf, id=234, 722.7pt x 433.62pt>
<use amelia-boundscomp.pdf> [27]
<amelia-plot1.pdf, id=241, 505.89pt x 505.89pt> <use amelia-plot1.pdf>

Package natbib Warning: Citation `AbaGelLev08' on page 28 undefined on input li
ne 1684.

[28 <./amelia-boundscomp.pdf>] [29 <./amelia-plot1.pdf>]
<amelia-oi2.pdf, id=266, 505.89pt x 505.89pt> <use amelia-oi2.pdf>

LaTeX Warning: Reference `f:oi2' on page 30 undefined on input line 1747.

<amelia-oi.pdf, id=267, 505.89pt x 505.89pt> <use amelia-oi.pdf>

LaTeX Warning: Reference `f:oi-bad' on page 30 undefined on input line 1780.

[30] [31 <./amelia-oi2.pdf>] [32 <./amelia-oi.pdf>]
<amelia-disp1dfig.pdf, id=304, 650.43pt x 397.485pt>
<use amelia-disp1dfig.pdf>

LaTeX Warning: Reference `f:overgood' on page 33 undefined on input line 1862.

[33]

LaTeX Warning: Reference `fig:tsplot1' on page 34 undefined on input line 1945.


<amelia-tsplot2.pdf, id=311, 505.89pt x 505.89pt> <use amelia-tsplot2.pdf>

LaTeX Warning: Reference `fig:tsplot1' on page 34 undefined on input line 1963.



LaTeX Warning: Reference `fig:tsplot1' on page 34 undefined on input line 1969.


[34 <./amelia-disp1dfig.pdf>] [35 <./amelia-tsplot2.pdf>]

LaTeX Warning: Reference `fig:missmap' on page 36 undefined on input line 2011.


<amelia-mmap2.pdf, id=335, 505.89pt x 505.89pt> <use amelia-mmap2.pdf>

LaTeX Warning: Reference `fig:missmap' on page 36 undefined on input line 2027.


[36] [37 <./amelia-mmap2.pdf>] [38]

Package natbib Warning: Citation `MilKub05' on page 39 undefined on input line 
2130.

)
Runaway argument?
! File ended while scanning use of \FancyVerbGetLine.
<inserted text> 
                \par 
<*> amelia
          
? 
! Emergency stop.
<inserted text> 
                \par 
<*> amelia
          
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on amelia.log.
make: *** [amelia.pdf] Error 1
Error in tools:::buildVignettes(dir = "/Volumes/SSD-Data/Builds/R-dev-web/QA/Simon/packages/el-capitan-x86_64/results/3.6/Amelia.Rcheck/vign_test/Amelia",  : 
  running 'make' failed
Execution halted