When I run R (even as a headless Rscript loading zero libraries) I occasionally see
This is package 'modeest' written by P. PONCET.
For a complete list of functions, use 'library(help = "modeest")' or 'help.start()'.
It's polluting output of my log files. While I find it useful for a few things, I rarely load it. How can I prevent it from spewing messages in this case? I know if I actually load a library I can suppressPackageStartupMessages
, but this message appears even without loading any packages.
It could be that I every time I see this I am calling a function that is part of a package that has a dependency on a package which has a dependency on modeest
(at least somewhere in the daisy chain), even if I don't use library(...)
.
Steps to reproduce:
- install modeest package
- write a package with a function that imports a function from modeest
- write another package with a function that depends on an unrelated (to modeest) function in the package mentioned in step 2
- call a function from the package from step 3 either with
package::func(arg)
orlibrary(package); func(arg)
that doesn't depend onmodeest
anywhere.