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

Fix numeric_stats bug in tm_t_summary and tm_t_summary_by #771

Merged
merged 4 commits into from
May 26, 2023

Conversation

edelarua
Copy link
Contributor

Closes #770

@edelarua edelarua added the sme label May 25, 2023
@github-actions
Copy link
Contributor

github-actions bot commented May 25, 2023

Unit Tests Summary

    1 files    33 suites   3s ⏱️
149 tests 149 ✔️     0 💤 0
280 runs  168 ✔️ 112 💤 0

Results for commit 1e46677.

♻️ This comment has been updated with latest results.

@edelarua edelarua changed the title Fix numeric_stats bug in tm_t_summary_by Fix numeric_stats bug in tm_t_summary and tm_t_summary_by May 25, 2023
Copy link
Contributor

@Melkiades Melkiades left a comment

Choose a reason for hiding this comment

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

It seems fine to me. I did not check the output completely but it should work fine imo. Thanks Emily!

@edelarua edelarua enabled auto-merge (squash) May 26, 2023 12:46
@edelarua edelarua merged commit b7f27b8 into main May 26, 2023
@edelarua edelarua deleted the 770_numeric_bug@main branch May 26, 2023 12:59
checkmate::assert_class(pre_output, classes = "shiny.tag", null.ok = TRUE)
checkmate::assert_class(post_output, classes = "shiny.tag", null.ok = TRUE)
checkmate::assert_class(basic_table_args, "basic_table_args")

numeric_stats_choices <- c("n", "mean_sd", "mean_ci", "geom_mean", "median", "median_ci", "quantiles", "range")
Copy link
Contributor

Choose a reason for hiding this comment

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

I am agreeing a lot with #525 for this. It should be assigned dynamically from tern options. I am thinking how to do that. Also, notice that there seems to be a different number of methods here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: parameter numeric_stats in tm_t_summary_by
2 participants