Skip to content

Commit

Permalink
Warning showing up less frequently
Browse files Browse the repository at this point in the history
  • Loading branch information
ellessenne committed May 16, 2024
1 parent d94f91c commit 2b164c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.onAttach <- function(libname, pkgname) {
tick <- stats::rbinom(n = 1, size = 1, prob = 0.1)
tick <- stats::rbinom(n = 1, size = 1, prob = 0.05)
if (tick == 1) {
packageStartupMessage(paste0("This is {comorbidity} version ", utils::packageVersion("comorbidity"), "."))
packageStartupMessage("A lot has changed since the pre-1.0.0 release on CRAN, please check-out breaking changes here:")
Expand Down

0 comments on commit 2b164c4

Please sign in to comment.