From 1acfb57a85d6dfb9f63dd2edf6e0ef1aa200562f Mon Sep 17 00:00:00 2001 From: GidonFrischkorn Date: Tue, 27 Feb 2024 09:21:23 +0100 Subject: [PATCH] CleanUp formatting --- R/zzz.R | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/R/zzz.R b/R/zzz.R index 538f88b4..8b117c91 100644 --- a/R/zzz.R +++ b/R/zzz.R @@ -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 <- " _ | |_ _____ _____ | . | | | @@ -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."