R/zzz.R

Defines functions .onAttach

.onAttach <- function(lib, pkg)  {
  vers <- utils::packageDescription("aggreCAT",
                                    fields ="Version")

  bsu_rule_color <- "#7FD2FF"
  bsu_main_color <- "#18bc9c"

  bsu_main <- crayon::make_style(bsu_main_color)

  msg <- paste0(
    cli::rule(left = "aggreCAT", col = bsu_rule_color, line = 2),
    bsu_main('\nVersion: '), vers, " \n",
    bsu_main('Please do not feed the cat.'), " \n",
    cli::rule(left = "", col = bsu_rule_color, line = 2)
  )

  packageStartupMessage(msg)

}

Try the aggreCAT package in your browser

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

aggreCAT documentation built on June 8, 2025, 11:06 a.m.