-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
In some cases using summarize_vars and add_overall_col leads to issue . #292
Comments
I think it is due to the fact that we didn't handle the missing values correctly. If we do
|
Hi @yli110-stat697 , you are absolutely right, in the helper of summarize_vars function, it does say
I wonder we should add some assertion here, so the error message can be more informative. @clarkliming FYI, @yli110-stat697 figured out the source of the error |
Hi @shajoezhu , yes I was thinking that we should make the error message more informative, but I'm stuck how we can do that. It sees that currently we can only capturing NA, but @clarkliming 's example has For example
would give the error message that
but split_cols_by will give the mysterious error message.
For the workflow of tern functions, we have assertions within s_fun to check on the data passed to us, but this particular example seems coming from the empty string when doing |
hi @yli110-stat697 , fyi, an issue is raised at |
If the function only works properly when data is transformed why not transform it inside the function? |
Original message
using add_overall_level is fine; using analyze instead of summarize_vars is also fine
Reported by @clarkliming
TODO
when using
bee_use_nest(release = "2022_01_28")
This gives error as
rtables
rtables
, file an issueThe text was updated successfully, but these errors were encountered: