Skip to content

Commit 0c5fc80

Browse files
committed
Only display startup message on attach, not load
1 parent 9ba0ef1 commit 0c5fc80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/zzz.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ tips <- c(
66
"Use suppressPackageStartupMessages to eliminate package startup messages."
77
)
88

9-
.onLoad <- function(...) {
9+
.onAttach <- function(...) {
1010
if (stats::runif(1) > 0.1) return()
1111

1212
tip <- sample(tips, 1)

0 commit comments

Comments
 (0)