Skip to content

Commit

Permalink
Update startup message and rename file to make clear what's inside (#945
Browse files Browse the repository at this point in the history
)

* update startup message and rename file

* Update R/z-packageStartupMessage.R

Co-authored-by: James Azam <[email protected]>

* update startup message

---------

Co-authored-by: James Azam <[email protected]>
  • Loading branch information
nikosbosse and jamesmbaazam authored Oct 9, 2024
1 parent dd609af commit 61b3aa7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
14 changes: 14 additions & 0 deletions R/z-packageStartupMessage.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# nocov start
#' @importFrom cli cli_inform
.onAttach <- function(libname, pkgname) {
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
9 changes: 0 additions & 9 deletions R/zzz.R

This file was deleted.

0 comments on commit 61b3aa7

Please sign in to comment.