Error in re-building vignettes:
  ...
Loading required package: sp
Loading required package: xtable
This is surveillance 1.16.0. For overview type ‘help(surveillance)’.
glrnb: Fitting Poisson model because alpha == 0
glrnb: Fitting Poisson model because alpha == 0
glrnb: Fitting glm.nb model with alpha=0.225966923076071
glrnb: Fitting glm.nb model with alpha=0.225966923076071
glrnb: Fitting glm.nb model with alpha=0.225966923076071
glrnb: Fitting glm.nb model with alpha=0.225966923076071
glrnb: Fitting glm.nb model with alpha=0.225966923076071
glrnb: Fitting glm.nb model with alpha=0.225966923076071
glrnb: Fitting Poisson model because alpha == 0
glrnb: Fitting Poisson model because alpha == 0
glrnb: Fitting Poisson model because alpha == 0
glrnb: Fitting Poisson model because alpha == 0
glrnb: Fitting Poisson model because alpha == 0
glrnb: Fitting Poisson model because alpha == 0
glrnb: Fitting Poisson model because alpha == 0
glrnb: Fitting Poisson model because alpha == 0
glrnb: Fitting Poisson model because alpha == 0
glrnb: Fitting Poisson model because alpha == 0
glrnb: Fitting Poisson model because alpha == 0
glrnb: Fitting Poisson model because alpha == 0
glrnb: Fitting Poisson model because alpha == 0
glrnb: Fitting Poisson model because alpha == 0
glrnb: Fitting Poisson model because alpha == 0
glrnb: Fitting Poisson model because alpha == 0
glrnb: Fitting Poisson model because alpha == 0
glrnb: Fitting Poisson model because alpha == 0
Doing computations: FALSE
Loading required package: splines
Loading required package: gamlss.data
Loading required package: gamlss.dist
Loading required package: MASS
Loading required package: nlme
Loading required package: parallel
 **********   GAMLSS Version 5.0-8  ********** 
For more on GAMLSS look at http://www.gamlss.org/
Type gamlssNews() to see new features/changes/bug fixes.

Doing computations: FALSE
Doing computations: FALSE
Loading required namespace: spdep
Note: range of maximum neighbour order by region is 3-5
Note: surveillance 1.16.0 no longer reverses the time points by default.
  Set the 'reverse' argument explicitly to avoid this message.
Note: surveillance 1.16.0 no longer reverses the time points by default.
  Set the 'reverse' argument explicitly to avoid this message.
Note: surveillance 1.16.0 no longer reverses the time points by default.
  Set the 'reverse' argument explicitly to avoid this message.
Note: surveillance 1.16.0 no longer reverses the time points by default.
  Set the 'reverse' argument explicitly to avoid this message.
Note: surveillance 1.16.0 no longer reverses the time points by default.
  Set the 'reverse' argument explicitly to avoid this message.
Note: surveillance 1.16.0 no longer reverses the time points by default.
  Set the 'reverse' argument explicitly to avoid this message.
Note: surveillance 1.16.0 no longer reverses the time points by default.
  Set the 'reverse' argument explicitly to avoid this message.
Doing computations: FALSE
Warning in `[.epidata`(x, seq_len(n), , drop = FALSE) :
  dropped class "epidata": subsetting blocks not allowed
Initialized 1 log-baseline interval:  0.00 92.55
Initial parameter vector:  1 1 1 1 0
Computing OSAIC weights for 4 epidemic covariates based on 1000 simulations ...
Initialized 1 log-baseline interval:  0.00 92.55
Initial parameter vector:  1 1 1 1 1 1 0
Computing OSAIC weights for 4 epidemic covariates based on 1000 simulations ...
Doing computations: FALSE
Note: auto-generated neighbourhood matrix contains 1 island
no epidemic component in model
Setting up the model environment ...
'imdfit_powerlaw' was fit with disabled 'cumCIF' -> calculate it now ...
Note: added the 'tau' component to object 'imdfit_powerlaw' for future use.
Warning in grepl("(Rerun to get|biblatex.*\\(re\\)run)", readLines(log,  :
  input string 1120 is invalid in this locale
Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet,  : 
  Running 'texi2dvi' on 'twinstim.tex' failed.
LaTeX errors:
! Undefined control sequence.
\UseRawInputEncoding ...tencodingname \@undefined 
                                                  \let \DeclareFontEncoding@...
l.309 We \CRANpkg{memoise} \citep{R:memoise}
                                             the cubature function during
! Missing \endcsname inserted.
<to be read again> 
                   \let 
l.309 We \CRANpkg{memoise} \citep{R:memoise}
                                             the cubature function during
! Missing \endcsname inserted.
<to be read again> 
                   \let 
l.309 We \CRANpkg{memoise} \citep{R:memoise}
                                             the cubature function during
! Missing \endcsname inserted.
<to be read again> 
                   \let 
l.309 We \CRANpkg{memoise} \citep{R:memoise}
                                             the cubature function during
! Undefined control sequence.
<argument> \@undefined 
            
Calls: buildVignettes -> texi2pdf -> texi2dvi
Execution halted