Error(s) in re-building vignettes:
--- re-building 'standsurv.Rmd' using rmarkdown
--- finished re-building 'standsurv.Rmd'

--- re-building 'flexsurv.Rnw' using knitr
Error: processing vignette 'flexsurv.Rnw' failed with diagnostics:
Failed to locate 'texi2pdf' output file 'flexsurv.pdf' for vignette with name 'flexsurv' and engine 'knitr::knitr'. The following files exist in working directory 'D:\RCompile\CRANpkg\local\4.3\flexsurv.Rcheck\vign_test\flexsurv\vignettes': 'bosmsm.pdf' (21687 bytes), 'distributions.Rnw' (9213 bytes), 'flexsurv-examples.Rnw' (11458 bytes), 'flexsurv-haz-1.pdf' (34051 bytes), 'flexsurv-splinehaz-1.pdf' (33683 bytes), 'flexsurv-surv-1.pdf' (33807 bytes), 'flexsurv.R' (8944 bytes), 'flexsurv.Rnw' (66501 bytes), 'flexsurv.bib' (18967 bytes), 'flexsurv.tex' (69245 bytes), 'multistate.Rnw' (49843 bytes), 'standsurv.R' (14379 bytes), 'standsurv.Rmd' (35114 bytes), 'standsurv.bib' (1719 bytes), 'standsurv.html' (295840 bytes)
--- failed re-building 'flexsurv.Rnw'

Warning message:
In system(paste(shQuote(texi2dvi), if (quiet) "--quiet" else "",  :
  running command '"C:\PROGRA~1\MiKTeX\miktex\bin\x64\texify.exe" --quiet --pdf "flexsurv.tex" --max-iterations=20 -I "D:/RCompile/recent/R/share/texmf/tex/latex" -I "D:/RCompile/recent/R/share/texmf/bibtex/bst"' had status 1
--- re-building 'multistate.Rnw' using knitr
--- finished re-building 'multistate.Rnw'

--- re-building 'distributions.Rnw' using Sweave
--- finished re-building 'distributions.Rnw'

During startup - Warning messages:
1: package 'utils' in options("defaultPackages") was not found 
2: In .getClassesFromCache(Class) :
  restarting interrupted promise evaluation
--- re-building 'flexsurv-examples.Rnw' using Sweave
Loading required package: survival
Error: package or namespace load failed for 'survival' in get("#HAS_DUPLICATE_CLASS_NAMES", envir = .classTable):
 object '#HAS_DUPLICATE_CLASS_NAMES' not found

Error: processing vignette 'flexsurv-examples.Rnw' failed with diagnostics:
 chunk 1 
Error : package 'survival' could not be loaded

--- failed re-building 'flexsurv-examples.Rnw'

SUMMARY: processing the following files failed:
  'flexsurv.Rnw' 'flexsurv-examples.Rnw'

Error: Vignette re-building failed.
Execution halted