Skip to content

Commit 83a656e

Browse files
committed
Fix render report component
1 parent 9b5f2d1 commit 83a656e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/reporting/render_report/report-template.qmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,9 @@ qc_summary <- quality_control |>
721721
) |>
722722
tidyr::complete(category, fill = list(passed = 0, failed = 0))
723723
724+
if (!"passed" %in% names(qc_summary)) qc_summary$passed <- 0L
725+
if (!"failed" %in% names(qc_summary)) qc_summary$failed <- 0L
726+
724727
reactable::reactable(
725728
qc_summary,
726729
columns = list(

0 commit comments

Comments
 (0)