Skip to content

Commit

Permalink
CleanUp formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
GidonFrischkorn committed Feb 27, 2024
1 parent 50bf7a4 commit 1acfb57
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@
local_version <- utils::packageVersion("bmm")
behind_cran <- cran_version > local_version

startUpMsg <- c(
paste0("A short introduction to package is available by calling help(\"bmm\"). \n",
"More detailed articles on how to fit different models are available via vignettes(\"bmm\").")
)

# add banner of package
banner <- " _
| |_ _____ _____
| . | | |
Expand All @@ -23,6 +19,11 @@

versionMsg <- paste0("Loading bmm (version: ",local_version,").\n")

startUpMsg <- c(
paste0("A short introduction to package is available by calling help(\"bmm\"). \n",
"More detailed articles on how to fit different models are available via vignettes(\"bmm\").")
)

if (interactive()) {
if (length(behind_cran) > 0 && behind_cran) {
msg <- "A newer version of bmm is available on CRAN."
Expand Down

0 comments on commit 1acfb57

Please sign in to comment.