diff --git a/R/zzz.R b/R/zzz.R index ceaba809a..b76d0f2ba 100644 --- a/R/zzz.R +++ b/R/zzz.R @@ -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) }