R/utils.R

Defines functions verbose_print

# util function for printing training index to screen when verbose = TRUE
verbose_print <- function(verbose, index, total) {

  if (verbose == TRUE) {

    message(paste0("Trained ",
                   index,
                   "/",
                   total,
                   " models."))

  }

}
markjrieke/workboots documentation built on Sept. 2, 2023, 2:30 a.m.