R/zzz.R

Defines functions .onAttach .onLoad

.onLoad <- function(libname, pkgname) {
  # Register knit_print methods
  if (requireNamespace("knitr", quietly = TRUE)) {
    registerS3method("knit_print", "melliotab", knit_print.melliotab,
                     envir = asNamespace("knitr"))
  }
}

.onAttach <- function(libname, pkgname) {
  packageStartupMessage("mellio: use mellio_open() for Mellio, melliotab() for R tables")
}

Try the mellio package in your browser

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

mellio documentation built on Aug. 30, 2026, 1:06 a.m.