You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would expect this to warn me to use the new argument name quantile_levels instead of quantile but check_pred_type_dots() doesn't let quantile through and the deprecation warning sits in predict_quantile.model_fit()
library(censored)
#> Loading required package: parsnip#> Loading required package: survivalf_fit<- survival_reg() %>%
fit(Surv(time, status) ~age+ph.ecog, data=lung)
predict(f_fit,
new_data=lung,
type="quantile",
quantile= c(0.2, 0.8)
)
#> Error in `predict()`:#> ! The ellipses are not used to pass args to the model function's predict#> function. These arguments cannot be used: "bad_args"
I would expect this to warn me to use the new argument name
quantile_levels
instead ofquantile
butcheck_pred_type_dots()
doesn't letquantile
through and the deprecation warning sits inpredict_quantile.model_fit()
Created on 2025-02-13 with reprex v2.1.1
The text was updated successfully, but these errors were encountered: