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
try parameters if tiyd_fun fail? #104
Comments
@ddsjoberg I have added a Regarding I see two possibilities:
What do you think? |
I think that is awesome! I agree with you that if a user passes a specific tidier, then that one and only that tidier should be used. Maybe the default should be updated to if (is.null(tidy_fun)) result <- tidy_with_broom_or_paramaters(x)
else result <- tidy_fun(x) I also think some messaging would be helpful. For example, if In |
@ddsjoberg I have drafted For now, in all cases, it returns a message explaining which tieder was used. Should I add a For What do you think? |
hmm, good question. I would suggest one of two ways forward. 1. No messaging when
That sounds good to me. Will you also export that function, so I can use it in gtsummary? |
Yes the function will be exported. I will update the messages. |
now fixed |
tidy_parameters()
custom tieders using parameters instead of broomtidy_and_attach()
, iftidy_fun
fails, trytidy_parameters
and show a messageThe text was updated successfully, but these errors were encountered: