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
Tableby: labels not showing when non-default test is specified #220
Comments
For reasons that I'm having difficulty vocalizing, I'm not sure that I should fix this. It's not a hard fix (only 5 lines or so), but I'm not sure it's in In the meantime, can you do something like this?
|
Yes that works. Is there any situation where one would require using the |
Good question. There might be. You could always do something like this:
but it's kind of annoying, especially when you also specify custom digits, statistics, etc. I thought about this some more last night, and convinced myself that it'd be a good idea to fix. Thanks for the issue! |
If labels are specified in
summary(labelTranslations = ...)
, but a non-default test is used, the label should properly render in the output:Created on 2019-06-11 by the reprex package (v0.3.0)
In this example, the labels for
fu.time
andrace
are not showing correctly. Under the hood, it looks like this is caused by the term being modified, as compared to the original variable name, so the label is not mapping as expected.The text was updated successfully, but these errors were encountered: