Error(s) in re-building vignettes:
  ...
--- re-building ‘a_introduction.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘a_introduction.Rmd’

--- re-building ‘b_time_dependency.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘b_time_dependency.Rmd’

--- re-building ‘c_homogeneous.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘c_homogeneous.Rmd’

--- re-building ‘d_non_homogeneous.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘d_non_homogeneous.Rmd’

--- re-building ‘e_probabilistic.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘e_probabilistic.Rmd’

--- re-building ‘f_sensitivity.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘f_sensitivity.Rmd’

--- re-building ‘g_heterogeneity.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘g_heterogeneity.Rmd’

--- re-building ‘h_tabular.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘h_tabular.Rmd’

--- re-building ‘i_reproduction.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘i_reproduction.Rmd’

--- re-building ‘j_survival.Rmd’ using rmarkdown
Failed with error:  'there is no package called 'flexsurv''

Quitting from j_survival.Rmd:28-39 [unnamed-chunk-1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `define_surv_spline()`:
! 'flexsurv' package required.
---
Backtrace:
    ▆
 1. └─heemod::define_surv_spline(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

--- re-building ‘j_survival_2_psa.Rmd’ using rmarkdown

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

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

--- re-building ‘k_calibration.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘k_calibration.Rmd’

SUMMARY: processing the following files failed:
  ‘j_survival.Rmd’ ‘j_survival_2_psa.Rmd’

Error: Vignette re-building failed.
Execution halted