Running examples in ‘latexpdf-Ex.R’ failed
The error most likely occurred in:

> ### Name: tex2pdf
> ### Title: Convert TEX to PDF
> ### Aliases: tex2pdf
> 
> ### ** Examples
> 
> file <- file.path(tempdir(),'test.tex')
> writeLines(as.ltable(head(Theoph)), file)
> tex2pdf(file)
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(/tmp/RtmpT6mQYx/test_doc.tex
LaTeX2e <2016/03/31>
Babel <3.9r> and hyphenation patterns for 22 language(s) loaded.
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/graphics-def/pdftex.def
(/usr/local/texlive/2016basic/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2016basic/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/colortbl/colortbl.sty
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/tools/array.sty))
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/xcolor/svgnam.def))
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2016basic/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/local/texlive/2016basic/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/local/texlive/2016basic/texmf-dist/tex/generic/ifxetex/ifxetex.sty))

! LaTeX Error: File `multirow.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name: 
! Emergency stop.
<read *> 
         
l.6 \usepackage
               {float}^^M
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on /tmp/RtmpT6mQYx/test_doc.log.
Error in as.pdf.document(as.document(x, ...), stem = stem, ...) : 
  could not make /tmp/RtmpT6mQYx/test_doc.pdf
Calls: tex2pdf -> as.pdf.character -> as.pdf -> as.pdf.document
Execution halted