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

Quitting from Example_analysis.Rmd:24-42 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `survfit.formula()`:
! the etype argument is no longer supported, use a factor as the status variable
---
Backtrace:
    ▆
 1. └─jointCompRisk::do_cif_analysis(mydata_std, tau = 15)
 2.   └─jointCompRisk:::table1_cif(Treatment, Control, tau, 0, 1, 0)
 3.     └─jointCompRisk:::auc.var.joint(data1, tau, a, b, c)
 4.       ├─survival::survfit(Surv(etime, estatus) ~ 1, etype = etype2, data = data.w)
 5.       └─survival::survfit.formula(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'Example_analysis.Rmd' failed with diagnostics:
the etype argument is no longer supported, use a factor as the status variable
--- failed re-building 'Example_analysis.Rmd'

--- re-building 'Vignette.Rmd' using rmarkdown

Quitting from Vignette.Rmd:159-169 [unnamed-chunk-4]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `survfit.formula()`:
! the etype argument is no longer supported, use a factor as the status variable
---
Backtrace:
    ▆
 1. └─jointCompRisk::do_cif_analysis(mydata_std, tau = 15)
 2.   └─jointCompRisk:::table1_cif(Treatment, Control, tau, 0, 1, 0)
 3.     └─jointCompRisk:::auc.var.joint(data1, tau, a, b, c)
 4.       ├─survival::survfit(Surv(etime, estatus) ~ 1, etype = etype2, data = data.w)
 5.       └─survival::survfit.formula(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'Vignette.Rmd' failed with diagnostics:
the etype argument is no longer supported, use a factor as the status variable
--- failed re-building 'Vignette.Rmd'

SUMMARY: processing the following files failed:
  'Example_analysis.Rmd' 'Vignette.Rmd'

Error: Vignette re-building failed.
Execution halted