-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
822f0b3
commit 9cdd5e5
Showing
2 changed files
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
.onAttach <- function(libname, pkgname) { | ||
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:") | ||
packageStartupMessage("-> https://ellessenne.github.io/comorbidity/articles/C-changes.html") | ||
} | ||
} | ||
# .onAttach <- function(libname, pkgname) { | ||
# 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:") | ||
# packageStartupMessage("-> https://ellessenne.github.io/comorbidity/articles/C-changes.html") | ||
# } | ||
# } |