Skip to content

Commit

Permalink
Fix test error
Browse files Browse the repository at this point in the history
  • Loading branch information
edelarua committed Oct 3, 2023
1 parent ed9bb05 commit 811cc50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/utils_default_stats_formats_labels.R
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,8 @@ get_indents_from_stats <- function(stats, indents_in = NULL, row_nms = NULL) {
}

if (is.null(names(indents_in)) && length(indents_in) == 1) {
return(indents_in)
out <- rep(indents_in, length(stats) * if (!is.null(row_nms)) length(row_nms) else 1)
return(out)
}

if (!is.null(row_nms)) {
Expand Down

0 comments on commit 811cc50

Please sign in to comment.