Build a survival formula safely via jmvcore::asFormula
Source:R/survival_utils.R
dot-asSurvivalFormula.RdWraps jmvcore::asFormula with the function allow-list extended to cover
common survival modelling helpers (Surv, strata, cluster, frailty,
tt, pspline, ns, bs, I, const, finegray). Use this instead of
base stats::as.formula() in survival / Cox / Fine-Gray paths so the formula
goes through jmvcore's allow-listed parser.