Skip to content

Commit

Permalink
Merge branch 'startup-message'
Browse files Browse the repository at this point in the history
  • Loading branch information
jarioksa committed Jan 21, 2025
2 parents b2d2532 + 51f2014 commit 84f7231
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions R/zzz.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.onAttach <- function(lib, pkg) {
packageStartupMessage("This is vegan ",
utils::packageDescription("vegan",
fields="Version"),
appendLF = TRUE)
if(interactive())
packageStartupMessage(
"This is vegan ",
utils::packageDescription("vegan", fields="Version"),
appendLF = TRUE)
}

0 comments on commit 84f7231

Please sign in to comment.