Error(s) in re-building vignettes:
--- re-building 'bym.Rnw' using knitr
Failed with error:  'there is no package called 'INLA''
--- finished re-building 'bym.Rnw'

xelatex bym;
This is XeTeX, Version 3.141592653-2.6-0.999993 (MiKTeX 21.12.10) (preloaded format=xelatex.fmt)
 restricted \write18 enabled.
entering extended mode
(bym.tex
LaTeX2e <2021-11-15> patch level 1
L3 programming layer <2021-11-22>
(C:\Program Files\MiKTeX\tex/latex/base\article.cls
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
(C:\Program Files\MiKTeX\tex/latex/base\size12.clo))
(C:\Program Files\MiKTeX\tex/latex/graphics\graphicx.sty
(C:\Program Files\MiKTeX\tex/latex/graphics\keyval.sty)
(C:\Program Files\MiKTeX\tex/latex/graphics\graphics.sty
(C:\Program Files\MiKTeX\tex/latex/graphics\trig.sty)
(C:\Program Files\MiKTeX\tex/latex/graphics-cfg\graphics.cfg)
(C:\Program Files\MiKTeX\tex/latex/graphics-def\xetex.def)))
(C:\Program Files\MiKTeX\tex/latex/graphics\color.sty
(C:\Program Files\MiKTeX\tex/latex/graphics-cfg\color.cfg))
(C:\Users\ContainerUser\AppData\Roaming\MiKTeX\tex/latex/framed\framed.sty)
(C:\Program Files\MiKTeX\tex/latex/base\alltt.sty)
(C:\Users\ContainerUser\AppData\Roaming\MiKTeX\tex/latex/geometry\geometry.sty
(C:\Program Files\MiKTeX\tex/generic/iftex\ifvtex.sty
(C:\Program Files\MiKTeX\tex/generic/iftex\iftex.sty))
(C:\Users\ContainerUser\AppData\Roaming\MiKTeX\tex/latex/geometry\geometry.cfg)
) (C:\Program Files\MiKTeX\tex/latex/amsmath\amsmath.sty
For additional information on amsmath, use the `?' option.
(C:\Program Files\MiKTeX\tex/latex/amsmath\amstext.sty
(C:\Program Files\MiKTeX\tex/latex/amsmath\amsgen.sty))
(C:\Program Files\MiKTeX\tex/latex/amsmath\amsbsy.sty)
(C:\Program Files\MiKTeX\tex/latex/amsmath\amsopn.sty))
(C:\Users\ContainerUser\AppData\Roaming\MiKTeX\tex/latex/caption\caption.sty
(C:\Users\ContainerUser\AppData\Roaming\MiKTeX\tex/latex/caption\caption3.sty))

(C:\Users\ContainerUser\AppData\Roaming\MiKTeX\tex/latex/caption\subcaption.sty
) (C:\Users\ContainerUser\AppData\Roaming\MiKTeX\tex/latex/upquote\upquote.sty
(C:\Program Files\MiKTeX\tex/latex/base\textcomp.sty))
(C:\Program Files\MiKTeX\tex/latex/l3backend\l3backend-xetex.def ())
No file bym.aux.
(C:\Program Files\MiKTeX\tex/latex/base\ts1cmr.fd)
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
! You can't use `macro parameter character #' in horizontal mode.
l.70 require('diseasemapping')#
                               # Loading required package: diseasemapping
? 
! Emergency stop.
l.70 
     
No pages of output.
Transcript written on bym.log.
make: *** [Makefile:7: bym.pdf] Error 1
Error in tools:::buildVignettes(dir = "C:/r_packages/pkgcheck/CRAN/diseasemapping/diseasemapping.Rcheck/vign_test/diseasemapping") : 
  running 'make' failed
Execution halted