Error(s) in re-building vignettes:
--- re-building ‘SimInf.Rnw’ using Sweave
Warning in system2(file.path(R.home("bin"), "R"), c("CMD", args), ...) :
  running command ''/data/gannet/ripley/R/R-devel/bin/R' CMD SHLIB --output='/tmp/RtmpgrNfXL/working_dir/Rtmph8vSwm/SimInf_3f6092282c7193.so' '/tmp/RtmpgrNfXL/working_dir/Rtmph8vSwm/SimInf_3f6092282c7193.c' 2>&1' had status 1

Error: processing vignette 'SimInf.Rnw' failed with diagnostics:
 chunk 31 (label = SIR-mparse-IV) 
Error : make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/SimInf.Rcheck/vign_test/SimInf/vignettes'gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/packages/tests-devel/SimInf.Rcheck/SimInf/include' -DSIMINF_MODEL_RUN=run_3f6092282c7193 -DSIMINF_R_INIT=R_init_SimInf_3f6092282c7193 -DSIMINF_FORCE_SYMBOLS=FALSE  -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration  -c /tmp/RtmpgrNfXL/working_dir/Rtmph8vSwm/SimInf_3f6092282c7193.c -o /tmp/RtmpgrNfXL/working_dir/Rtmph8vSwm/SimInf_3f6092282c7193.o/tmp/RtmpgrNfXL/working_dir/Rtmph8vSwm/SimInf_3f6092282c7193.c: In function ‘run_3f6092282c7193’:/tmp/RtmpgrNfXL/working_dir/Rtmph8vSwm/SimInf_3f6092282c7193.c:107:12: error: too many arguments to function ‘SimInf_run’  107 |     return SimInf_run(model, solver, tr_fun, &ptsFun);      |            ^~~~~~~~~~make[1]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:176: /tmp/RtmpgrNfXL/working_dir/Rtmph8vSwm/SimInf_3f6092282c7193.o] Error 1make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/SimInf.Rcheck/vign_test/SimInf/vignettes'

--- failed re-building 'SimInf.Rnw'

--- re-building 'scheduled-events.Rmd' using rmarkdown
--- finished re-building 'scheduled-events.Rmd'

SUMMARY: processing the following file failed:
  'SimInf.Rnw'

Error: Vignette re-building failed.
Execution halted