Skip to content

Commit

Permalink
Fix bug in a_summary() causing nonunique row_name values (#1323)
Browse files Browse the repository at this point in the history
Fixes #1090
  • Loading branch information
edelarua authored Oct 9, 2024
1 parent 57928a2 commit 86284ed
Show file tree
Hide file tree
Showing 3 changed files with 175 additions and 172 deletions.
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# tern 0.9.6.9004

### Bug Fixes
* Fixed bug in `a_summary()` causing non-unique `row_name` values to occur when multiple statistics are selected for count variables.

# tern 0.9.6

### Enhancements
Expand Down
2 changes: 1 addition & 1 deletion R/analyze_variables.R
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ a_summary <- function(x,
in_rows(
.list = x_stats,
.formats = .formats,
.names = .labels,
.names = names(.labels),
.labels = .labels,
.indent_mods = .indent_mods,
.format_na_strs = na_str
Expand Down
Loading

0 comments on commit 86284ed

Please sign in to comment.