Skip to content
This repository was archived by the owner on Feb 9, 2024. It is now read-only.

Commit 4ac3df5

Browse files
committed
Show startup message only 1 in 10 times. Closes #302.
1 parent 9a54008 commit 4ac3df5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/zzz.r

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.onAttach <- function(...) {
2-
if (!interactive()) return()
2+
if (!interactive() || stats::runif(1) > 0.1) return()
33
packageStartupMessage("The ggvis API is currently rapidly evolving. ",
44
"We strongly recommend that you do not rely on this for production, but ",
55
"feel free to explore. If you encounter a clear bug, please file a ",

0 commit comments

Comments
 (0)