We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc2db9b commit a479b3eCopy full SHA for a479b3e
R/surv_reg.R
@@ -154,7 +154,7 @@ check_args.surv_reg <- function(object) {
154
args <- lapply(object$args, rlang::eval_tidy)
155
156
# `dist` has no default in the function
157
- if (all(names(args) != "dist"))
+ if (all(names(args) != "dist") || is.null(args$dist))
158
object$args$dist <- "weibull"
159
}
160
R/surv_reg_data.R
@@ -1,8 +1,8 @@
1
2
surv_reg_arg_key <- data.frame(
3
- flexsurv = c("dist", NA),
+ flexsurv = c("dist"),
4
stringsAsFactors = FALSE,
5
- row.names = c("dist", "mixture")
+ row.names = c("dist")
6
)
7
8
surv_reg_modes <- "regression"
0 commit comments