The suppressPackageStartupMessages()
function works if and only if the startup messages are actually written with packageStartupMessage()
— see the help page.
Many packages just use cat()
, which one could consider a buglet. In that case
suppressMessages(library(foo))
works better.