R/on_attach.R

Defines functions .onAttach

.onAttach = function(...) {
    options("datatable.print.class" = TRUE,
            "datatable.print.trunc.cols" = TRUE,
            "datatable.print.keys" = TRUE)
    hints = c(
        "Life's short, use R."
    )
    curr_hint = sample(hints, 1)
    packageStartupMessage(paste0("\n", curr_hint, "\n"))
}

Try the tidyft package in your browser

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

tidyft documentation built on April 14, 2020, 7:10 p.m.