From 909459483b775207cdcd4acfeb46df38e9ad817d Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Tue, 13 Aug 2024 08:39:42 -0400 Subject: [PATCH] format_appendix: decrease width for file in coverage table 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. --- R/format-report.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/format-report.R b/R/format-report.R index bee53bf..9e66beb 100644 --- a/R/format-report.R +++ b/R/format-report.R @@ -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) ) %>%