Skip to content

Commit

Permalink
update startup message
Browse files Browse the repository at this point in the history
  • Loading branch information
nikosbosse committed Oct 9, 2024
1 parent e27e24e commit 47caafc
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions R/z-packageStartupMessage.R
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

0 comments on commit 47caafc

Please sign in to comment.