-
Notifications
You must be signed in to change notification settings - Fork 49
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
Catching errors for mismatches in alt_counts_df splits #721
Conversation
Code Coverage Summary
Diff against main
Results for commit: ef4c6c2 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
@gmbecker @shajoezhu, I think this is important to get in before CRAN release |
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.
hi @Melkiades thanks for the change, it looks much better
i am getting more informative errors now
Error in .local(spl, have_controws, make_lrow, ...) :
alt_counts_df split variable(s) [ARMCD] (in split VarLevelSplit) has not the same factor levels of df.
df has c(ARM A, ARM B, ARM C) levels while alt_counts_df has c()
can you add quotes to the arms, so it appears like c("ARM A", "ARM B", "ARM C")
Thanks a lot
Signed-off-by: Davide Garolini <davide.garolini@roche.com>
To have it merge in, so it is stable
hi @Melkiades , thanks for the change looks better, but still need change. I am getting
|
it is not a factor, so it has no levels |
…ables into 720_alt_df_bug_diff_splits@main
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.
lgtm! thanks @Melkiades for the change and adding the additional test cases
Co-authored-by: Joe Zhu <joe.zhu@roche.com> Signed-off-by: Davide Garolini <dgarolini@gmail.com>
Fixes #720