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"))
}
hope-data-science/tidyft documentation built on Sept. 26, 2024, 11:17 a.m.