-
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
e27e24e
commit 47caafc
Showing
1 changed file
with
11 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
# nocov start | ||
#' @importFrom cli cli_inform | ||
.onAttach <- function(libname, pkgname) { | ||
packageStartupMessage( | ||
"We'd like to hear your feedback and thoughts! Let us know by ", | ||
"creating an issue on {.url https://github.com/epiforecasts/scoringutils/issues}." | ||
cli_inform( | ||
"scoringutils 2.0.0 introduces major changes. We'd love your feedback! | ||
{.url https://github.com/epiforecasts/scoringutils/issues}. | ||
To use the old version, run: | ||
{.code remotes::install_github('epiforecasts/[email protected]')}", | ||
.frequency = "once", | ||
.frequency_id = "enw_startup_message", | ||
class = "packageStartupMessage" | ||
) | ||
} | ||
# nocov end |