Error(s) in re-building vignettes:
  ...
--- re-building ‘budget-impact-applications.Rmd’ using rmarkdown
Failed with error:  'there is no package called 'flexsurv''

Quitting from budget-impact-applications.Rmd:93-248 [heemod]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `eval_surv.surv_dist()`:
! 'flexsurv' package required.
---
Backtrace:
    ▆
 1. └─heemod::run_model(...)
 2.   └─heemod::run_model_(...)
 3.     └─heemod:::eval_strategy(...)
 4.       ├─heemod:::eval_transition(uneval_transition, parameters)
 5.       └─heemod:::eval_transition.part_surv(uneval_transition, parameters)
 6.         └─heemod::compute_surv(...)
 7.           ├─heemod:::eval_surv(x, cycle_length * time_, ...)
 8.           └─heemod:::eval_surv.surv_dist(x, cycle_length * time_, ...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'budget-impact-applications.Rmd' failed with diagnostics:
'flexsurv' package required.
--- failed re-building ‘budget-impact-applications.Rmd’

--- re-building ‘cost-effectiveness-applications.Rmd’ using rmarkdown

Quitting from cost-effectiveness-applications.Rmd:81-89 [setup]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `library()`:
! there is no package called 'flexsurv'
---
Backtrace:
    ▆
 1. └─base::library(flexsurv)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'cost-effectiveness-applications.Rmd' failed with diagnostics:
there is no package called 'flexsurv'
--- failed re-building ‘cost-effectiveness-applications.Rmd’

--- re-building ‘math-framework.Rmd’ using rmarkdown
--- finished re-building ‘math-framework.Rmd’

--- re-building ‘net-present-value.Rmd’ using rmarkdown
--- finished re-building ‘net-present-value.Rmd’

SUMMARY: processing the following files failed:
  ‘budget-impact-applications.Rmd’
  ‘cost-effectiveness-applications.Rmd’

Error: Vignette re-building failed.
Execution halted