Skip to content

Commit

Permalink
format_appendix: decrease width for file in coverage table
Browse files Browse the repository at this point in the history
For bbi, the "o" in parsers/nmparser/parse_parameter_comments.go (44
characters) is partially truncated.  Decrease the width by one to
prevent this case, and, given these aren't fixed-width fonts, by one
more to hopefully provide enough margin to avoid this in other cases.
  • Loading branch information
kyleam committed Aug 13, 2024
1 parent 43d391e commit 9094594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/format-report.R
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ format_appendix <- function(extra_notes_data, return_vals = FALSE, scorecard_typ
cov_results_df <- cov_results_df %>%
dplyr::mutate(
code_file = wrap_text(.data$code_file,
width = 45, indent = TRUE, strict = TRUE
width = 43, indent = TRUE, strict = TRUE
),
test_coverage = sprintf("%.2f%%", .data$test_coverage)
) %>%
Expand Down

0 comments on commit 9094594

Please sign in to comment.