Skip to content
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

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

huangz73
Copy link

Fix issue #221 by modifying the utils-add_risktable() function for duplicated x-axis case.

@huangz73
Copy link
Author

utils-add_risktable.R has an updated argument on times

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.")
Copy link
Collaborator

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?

Copy link
Author

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}")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants