R/generateStatusSummary.R

Defines functions generateStatusSummary

generateStatusSummary <- function(numberErrors_ui, numberTotal_ui, labels_s) {
  mark <- ifelse(!numberErrors_ui, crayon::green('\u2714'), crayon::red('\u2718'))
  paste(crayon::blue(paste0(numberErrors_ui, '/', numberTotal_ui)),
        crayon::blue(labels_s),
        mark,
        collapse = ' | ')
}

Try the wyz.code.offensiveProgramming package in your browser

Any scripts or data that you put into this service are public.

wyz.code.offensiveProgramming documentation built on Sept. 25, 2023, 9:05 a.m.