Error(s) in re-building vignettes:
--- re-building ‘Rcpp-FAQ.Rmd’ using rmarkdown
Building shared library for Rcpp code chunk...
Building shared library for Rcpp code chunk...
Building shared library for Rcpp code chunk...
Building shared library for Rcpp code chunk...
Building shared library for Rcpp code chunk...
Building shared library for Rcpp code chunk...
Building shared library for Rcpp code chunk...
Building shared library for Rcpp code chunk...
tlmgr search --file --global '/tikzlibrarytopaths.code.tex'
Trying to automatically install missing LaTeX packages...
tlmgr install pgf
tlmgr: package repository http://anorien.csc.warwick.ac.uk/mirrors/CTAN/systems/texlive/tlnet (verified)
tlmgr install: package already present: pgf
tlmgr path add
add_link_dir_dir: /usr/local/share/info/dir exists; not making symlink.
tlmgr search --file --global '/tikzlibrarytopaths.code.tex'
! LaTeX Error: Missing \begin{document}.

Error: processing vignette 'Rcpp-FAQ.Rmd' failed with diagnostics:
Failed to compile Rcpp-FAQ.tex. See https://yihui.name/tinytex/r/#debugging for debugging tips. See Rcpp-FAQ.log for more info.
--- failed re-building ‘Rcpp-FAQ.Rmd’

--- re-building ‘Rcpp-attributes.Rmd’ using rmarkdown
Warning in get_engine(options$engine) :
  Unknown language engine 'cpp' (must be registered via knit_engines$set()).
Warning in get_engine(options$engine) :
  Unknown language engine 'cpp' (must be registered via knit_engines$set()).
tlmgr search --file --global '/tikzlibrarytopaths.code.tex'
Trying to automatically install missing LaTeX packages...
tlmgr install pgf
tlmgr: package repository http://anorien.csc.warwick.ac.uk/mirrors/CTAN/systems/texlive/tlnet (verified)
tlmgr install: package already present: pgf
tlmgr path add
add_link_dir_dir: /usr/local/share/info/dir exists; not making symlink.
tlmgr search --file --global '/tikzlibrarytopaths.code.tex'
! LaTeX Error: Missing \begin{document}.

Error: processing vignette 'Rcpp-attributes.Rmd' failed with diagnostics:
Failed to compile Rcpp-attributes.tex. See https://yihui.name/tinytex/r/#debugging for debugging tips. See Rcpp-attributes.log for more info.
--- failed re-building ‘Rcpp-attributes.Rmd’

--- re-building ‘Rcpp-extending.Rmd’ using rmarkdown
Building shared library for Rcpp code chunk...
tlmgr search --file --global '/tikzlibrarytopaths.code.tex'
Trying to automatically install missing LaTeX packages...
tlmgr install pgf
tlmgr: package repository http://anorien.csc.warwick.ac.uk/mirrors/CTAN/systems/texlive/tlnet (verified)
tlmgr install: package already present: pgf
tlmgr path add
add_link_dir_dir: /usr/local/share/info/dir exists; not making symlink.
tlmgr search --file --global '/tikzlibrarytopaths.code.tex'
! LaTeX Error: Missing \begin{document}.

Error: processing vignette 'Rcpp-extending.Rmd' failed with diagnostics:
Failed to compile Rcpp-extending.tex. See https://yihui.name/tinytex/r/#debugging for debugging tips. See Rcpp-extending.log for more info.
--- failed re-building ‘Rcpp-extending.Rmd’

--- re-building ‘Rcpp-introduction.Rmd’ using rmarkdown
Building shared library for Rcpp code chunk...
tlmgr search --file --global '/tikzlibrarytopaths.code.tex'
Trying to automatically install missing LaTeX packages...
tlmgr install pgf
tlmgr: package repository http://anorien.csc.warwick.ac.uk/mirrors/CTAN/systems/texlive/tlnet (verified)
tlmgr install: package already present: pgf
tlmgr path add
add_link_dir_dir: /usr/local/share/info/dir exists; not making symlink.
tlmgr search --file --global '/tikzlibrarytopaths.code.tex'
! LaTeX Error: Missing \begin{document}.

Error: processing vignette 'Rcpp-introduction.Rmd' failed with diagnostics:
Failed to compile Rcpp-introduction.tex. See https://yihui.name/tinytex/r/#debugging for debugging tips. See Rcpp-introduction.log for more info.
--- failed re-building ‘Rcpp-introduction.Rmd’

--- re-building ‘Rcpp-modules.Rmd’ using rmarkdown
tlmgr search --file --global '/tikzlibrarytopaths.code.tex'
Trying to automatically install missing LaTeX packages...
tlmgr install pgf
tlmgr: package repository http://anorien.csc.warwick.ac.uk/mirrors/CTAN/systems/texlive/tlnet (verified)
tlmgr install: package already present: pgf
tlmgr path add
add_link_dir_dir: /usr/local/share/info/dir exists; not making symlink.
tlmgr search --file --global '/tikzlibrarytopaths.code.tex'
! LaTeX Error: Missing \begin{document}.

Error: processing vignette 'Rcpp-modules.Rmd' failed with diagnostics:
Failed to compile Rcpp-modules.tex. See https://yihui.name/tinytex/r/#debugging for debugging tips. See Rcpp-modules.log for more info.
--- failed re-building ‘Rcpp-modules.Rmd’

--- re-building ‘Rcpp-package.Rmd’ using rmarkdown
tlmgr search --file --global '/tikzlibrarytopaths.code.tex'
Trying to automatically install missing LaTeX packages...
tlmgr install pgf
tlmgr: package repository http://anorien.csc.warwick.ac.uk/mirrors/CTAN/systems/texlive/tlnet (verified)
tlmgr install: package already present: pgf
tlmgr path add
add_link_dir_dir: /usr/local/share/info/dir exists; not making symlink.
tlmgr search --file --global '/tikzlibrarytopaths.code.tex'
! LaTeX Error: Missing \begin{document}.

Error: processing vignette 'Rcpp-package.Rmd' failed with diagnostics:
Failed to compile Rcpp-package.tex. See https://yihui.name/tinytex/r/#debugging for debugging tips. See Rcpp-package.log for more info.
--- failed re-building ‘Rcpp-package.Rmd’

--- re-building ‘Rcpp-quickref.Rmd’ using rmarkdown
tlmgr search --file --global '/tikzlibrarytopaths.code.tex'
Trying to automatically install missing LaTeX packages...
tlmgr install pgf
tlmgr: package repository http://anorien.csc.warwick.ac.uk/mirrors/CTAN/systems/texlive/tlnet (verified)
tlmgr install: package already present: pgf
tlmgr path add
add_link_dir_dir: /usr/local/share/info/dir exists; not making symlink.
tlmgr search --file --global '/tikzlibrarytopaths.code.tex'
! LaTeX Error: Missing \begin{document}.

Error: processing vignette 'Rcpp-quickref.Rmd' failed with diagnostics:
Failed to compile Rcpp-quickref.tex. See https://yihui.name/tinytex/r/#debugging for debugging tips. See Rcpp-quickref.log for more info.
--- failed re-building ‘Rcpp-quickref.Rmd’

--- re-building ‘Rcpp-sugar.Rmd’ using rmarkdown
tlmgr search --file --global '/tikzlibrarytopaths.code.tex'
Trying to automatically install missing LaTeX packages...
tlmgr install pgf
tlmgr: package repository http://anorien.csc.warwick.ac.uk/mirrors/CTAN/systems/texlive/tlnet (verified)
tlmgr install: package already present: pgf
tlmgr path add
add_link_dir_dir: /usr/local/share/info/dir exists; not making symlink.
tlmgr search --file --global '/tikzlibrarytopaths.code.tex'
! LaTeX Error: Missing \begin{document}.

Error: processing vignette 'Rcpp-sugar.Rmd' failed with diagnostics:
Failed to compile Rcpp-sugar.tex. See https://yihui.name/tinytex/r/#debugging for debugging tips. See Rcpp-sugar.log for more info.
--- failed re-building ‘Rcpp-sugar.Rmd’

--- re-building ‘Rcpp-jss-2011.Rnw’ using Sweave
--- finished re-building ‘Rcpp-jss-2011.Rnw’

SUMMARY: processing the following files failed:
  ‘Rcpp-FAQ.Rmd’ ‘Rcpp-attributes.Rmd’ ‘Rcpp-extending.Rmd’
  ‘Rcpp-introduction.Rmd’ ‘Rcpp-modules.Rmd’ ‘Rcpp-package.Rmd’
  ‘Rcpp-quickref.Rmd’ ‘Rcpp-sugar.Rmd’

Error: Vignette re-building failed.
Execution halted