Flexible survival models on the log cumulative hazard scale in R