Skip to content

Commit

Permalink
suppressPackageStartupMessages
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillseva committed Mar 31, 2015
1 parent 22a0cbd commit dd75be0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/packages.r
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
packages <- function(...) {
split_packages <- function(string) strsplit(string, '[^a-zA-Z.$0-9_]+')[[1]]
pkgs <- unlist(lapply(unlist(list(...)), split_packages))
sapply(pkgs, load_package)
suppressPackageStartupMessages(sapply(pkgs, load_package))
TRUE
}

0 comments on commit dd75be0

Please sign in to comment.