ard_survfit_survfit.data.frame() can now construct unstratified model#279
Merged
ard_survfit_survfit.data.frame() can now construct unstratified model#279
ard_survfit_survfit.data.frame() can now construct unstratified model#279Conversation
Contributor
Unit Tests Summary 1 files 175 suites 1m 15s ⏱️ Results for commit b8a3f2b. ♻️ This comment has been updated with latest results. |
Contributor
Unit Test Performance DifferenceAdditional test case details
Results for commit ea59049 ♻️ This comment has been updated with latest results. |
Contributor
Code Coverage SummaryDiff against mainResults for commit: b8a3f2b Minimum allowed coverage is ♻️ This comment has been updated with latest results |
Melkiades
reviewed
Mar 3, 2025
Melkiades
approved these changes
Mar 3, 2025
Contributor
Melkiades
left a comment
There was a problem hiding this comment.
Lgtm!! Very clear code. Thanks @ddsjoberg !!!
Collaborator
Author
|
Thank you for the review @Melkiades !!! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes are proposed in this pull request?
ard_survfit_survfit.data.frame(variables=NULL)now creates an unstratifiedsurvfit()model, where previouslyvariablesargument could not be empty. (Alloward_survival_survfit.data.frame(variables = NULL)for unstratified model #277)ard_survfit_survfit.data.frame(variables)now accepts tidyselect input. (Alloward_survival_survfit.data.frame(variables)tidyselect input #278)Reference GitHub issue associated with pull request. e.g., 'closes #'
closes #277
closes #278
Pre-review Checklist (if item does not apply, mark is as complete)
usethis::pr_merge_main()ard_*()function was added, it passes the ARD structural checks fromcards::check_ard_structure().ard_*()function was added,set_cli_abort_call()has been set.ard_*()function was added and it depends on another package (such as,broom),is_pkg_installed("broom")has been set in the function call and the following added to the roxygen comments:@examplesIf do.call(asNamespace("cardx")$is_pkg_installed, list(pkg = "broom""))devtools::test_coverage()Reviewer Checklist (if item does not apply, mark is as complete)
devtools::test_coverage()When the branch is ready to be merged:
NEWS.mdwith the changes from this pull request under the heading "# cardx (development version)". If there is an issue associated with the pull request, reference it in parentheses at the end update (seeNEWS.mdfor examples).