Error(s) in re-building vignettes:
  ...
--- re-building ‘glrnb.Rnw’ using Sweave
Loading required package: sp
Loading required package: xtable
This is surveillance 1.25.0; see ‘package?surveillance’ or
https://surveillance.R-Forge.R-project.org/ for an overview.
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
--- finished re-building ‘glrnb.Rnw’

--- re-building ‘hhh4.Rnw’ using Sweave
Loading required package: sp
Loading required package: xtable
This is surveillance 1.25.0; see ‘package?surveillance’ or
https://surveillance.R-Forge.R-project.org/ for an overview.
Doing computations: FALSE
--- finished re-building ‘hhh4.Rnw’

--- re-building ‘surveillance.Rnw’ using Sweave
Loading required package: sp
Loading required package: xtable
This is surveillance 1.25.0; see ‘package?surveillance’ or
https://surveillance.R-Forge.R-project.org/ for an overview.
Doing computations: FALSE
--- finished re-building ‘surveillance.Rnw’

--- re-building ‘hhh4_spacetime.Rnw’ using knitr

Quitting from hhh4_spacetime.Rnw:1081-1083 [measlesSim_plot_time]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `x@observed[i, j, drop = FALSE]`:
! subscript out of bounds
---
Backtrace:
     x
  1. +-base::plot(measlesSim, "fan", means.args = list(), key.args = list())
  2. +-base::plot(measlesSim, "fan", means.args = list(), key.args = list())
  3. \-surveillance:::plot.hhh4sims(...)
  4.   \-surveillance:::plot.hhh4simslist(x, ...)
  5.     +-base::do.call(FUN, list(quote(x), ...))
  6.     \-surveillance::plotHHH4sims_fan(x, means.args = `<list>`, key.args = `<list>`)
  7.       \-surveillance:::aggregate.hhh4sims(...)
  8.         \-base::apply(X = x, MARGIN = c(1L, 3L), FUN = sum)
  9.           +-newX[, i]
 10.           \-surveillance:::`[.hhh4sims`(newX, , i)
 11.             \-surveillance:::subset_hhh4sims_attributes(xx, i, j)
 12.               +-base::suppressMessages(attr(x, "stsObserved")[, j])
 13.               | \-base::withCallingHandlers(...)
 14.               +-attr(x, "stsObserved")[, j]
 15.               \-attr(x, "stsObserved")[, j]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'hhh4_spacetime.Rnw' failed with diagnostics:
subscript out of bounds
--- failed re-building ‘hhh4_spacetime.Rnw’

--- re-building ‘monitoringCounts.Rnw’ using knitr
--- finished re-building ‘monitoringCounts.Rnw’

--- re-building ‘twinSIR.Rnw’ using knitr
--- finished re-building ‘twinSIR.Rnw’

--- re-building ‘twinstim.Rnw’ using knitr
--- finished re-building ‘twinstim.Rnw’

SUMMARY: processing the following file failed:
  ‘hhh4_spacetime.Rnw’

Error: Vignette re-building failed.
Execution halted