Skip to content

Commit

Permalink
use cat_reports
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill Müller committed Jan 25, 2016
1 parent 646eb59 commit 6369008
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions R/reporter-summary.r
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,7 @@ SummaryReporter <- setRefClass("SummaryReporter", contains = "Reporter",

if (length(skips) > 0L) {
cat(colourise("\nSkip:", "skipped"), "\n\n")
reports <- vapply(seq_along(skips), function(i) {
skip_summary(skips[[i]], labels[i])
}, character(1L))
cat(paste(reports, collapse = "\n"), "\n", sep = "")
cat_reports(skips, skip_summary, "\n")
}

cat("\n")
Expand Down

0 comments on commit 6369008

Please sign in to comment.