R/print-hts-inla.R

Defines functions print.hts_inla

#' @export
print.hts_inla <- function(x, ...){

  cli::cli({
    cli::cat_line(
      "<", class(x)[1], "> model (fit in ", round(x$cpu.used[["Total"]], 2), "s)",
      col = "orange")
    cli::cat_line("Formula:")
    cli::cat_bullet(x$formula)
  })
}
njtierney/yahtsee documentation built on Feb. 5, 2022, 8:25 p.m.