Closed hfrick closed 2 years ago
After our discussion I've added tests for primary args and engine args back in for the two model types which do not have any engines in parsnip: survival_reg()
and proportional_hazards()
, see https://github.com/tidymodels/parsnip/pull/791
This pull request has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.
Testing the model type (
proportional_hazards()
andsurvival_reg()
) is better done in parsnip than censored. I looked at moving the tests to parsnip but: parsnip used to have them and got updated so I don't think it makes sense to re-add them.The heritage tests on model fitting / execution for
survival_reg()
(inheriting fromsurv_reg()
) have been updated to check the resulting model fit object, like the tests for the other model type / engines in censored.