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."))

  }

}

Try the workboots package in your browser

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

workboots documentation built on May 16, 2022, 9:05 a.m.