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

NA breaks auto formatting #1144

Closed
Melkiades opened this issue Nov 28, 2023 · 0 comments · Fixed by #1220
Closed

NA breaks auto formatting #1144

Melkiades opened this issue Nov 28, 2023 · 0 comments · Fixed by #1220
Assignees
Labels
bug Something isn't working sme

Comments

@Melkiades
Copy link
Contributor

repro:

dt <- data.frame("VAR" = c(0.001, 0.2, 0.0011000, 3, 4, NA))
 basic_table() %>%
   analyze_vars(
     vars = "VAR",
     .stats = c("n", "mean", "mean_sd", "range"),
     .formats = c("mean_sd" = "auto", "range" = "auto")
   ) %>%
   build_table(dt)
@Melkiades Melkiades added bug Something isn't working sme labels Nov 28, 2023
@edelarua edelarua self-assigned this Apr 4, 2024
edelarua added a commit that referenced this issue Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working sme
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants