R/zzz.R

Defines functions .onAttach

#' @importFrom rlang inform
.onAttach <- function(libname, pkgname) {
  # inspired by tidyverse, base R approach turns everything yellow...
  # the correct class is retained

  # we cannot use mere inform without the namespace, apparently
  rlang::inform(read_me(), use_cli_format = TRUE, class = "packageStartupMessage")
}

Try the SIAmodules package in your browser

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

SIAmodules documentation built on April 4, 2025, 2:39 a.m.