[e25014]: / R / zzz.R

Download this file

14 lines (11 with data), 397 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
.onAttach <- function(libname, pkgname) {
# Display ASCII art
ascii_art_path <- system.file("extdata", "ascii_art.txt", package = "TransProR")
if (file.exists(ascii_art_path)) {
ascii_art_lines <- readLines(ascii_art_path)
ascii_art <- paste(ascii_art_lines, collapse = "\n")
packageStartupMessage(ascii_art)
} else {
packageStartupMessage("Welcome to TransProR!")
}
}