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

Follow-up to #131 #147

Merged
merged 2 commits into from
Nov 17, 2023
Merged

Follow-up to #131 #147

merged 2 commits into from
Nov 17, 2023

Conversation

hfrick
Copy link
Member

@hfrick hfrick commented Nov 17, 2023

Light touch-up on #131

The issue was that names popped up in the censoring weights for 1 observation with 1 eval time tidymodels/parsnip#1023.

The solution was to unname the elements coming out of .extract_surv_time() and .extract_surv_status() tidymodels/parsnip#1024

In #131 we added tests on .parsnip:::graf_weight_time_vec(), this PR adds tests on .extract_surv_time() and .extract_surv_status() since those were the functions modified in the solution.

@hfrick hfrick requested a review from EmilHvitfeldt November 17, 2023 14:12
Copy link
Member

@EmilHvitfeldt EmilHvitfeldt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking good!

@hfrick hfrick merged commit 9a8cae3 into main Nov 17, 2023
5 checks passed
@hfrick hfrick deleted the followup-131 branch November 17, 2023 17:54
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