-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pull Request by Zilin Huang regarding Issue #221 #228
base: main
Are you sure you want to change the base?
Conversation
|
R/ggcuminc.R
Outdated
@@ -69,7 +69,7 @@ ggcuminc <- function(x, outcome = NULL, | |||
cli_inform("Plotting outcome {.val {outcome}}.") | |||
} | |||
if (any(!outcome %in% unique(df$outcome))) { | |||
cli_abort("Argument {.code outcome} must be one or more of {.val {unique(df$outcome)}}") | |||
cli_abort("Argument {.arg x} does not support {.cls survfit.coxphms} object.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand this change to the error message. Was this intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ddsjoberg apologize that I may make this change by mistake. I have changed this section back to its original version (with "Argument {.code outcome}")
Fix issue #221 by modifying the
utils-add_risktable()
function for duplicated x-axis case.