R/onLoad.R

Defines functions .onAttach

.onAttach <- function(libname, pkgname) {
    if (interactive()) {
        w <- uninstalled_formats()
        if (length(w)) {
            msg <- "The following rio suggested packages are not installed: %s\nUse 'install_formats()' to install them"
            packageStartupMessage(sprintf(msg, toString(sQuote(w))))
        }
    }
}
leeper/rio documentation built on Sept. 17, 2024, 1:29 a.m.