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))))
        }
    }
}

Try the rio package in your browser

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

rio documentation built on Sept. 11, 2024, 6:21 p.m.