Skip to content
Prev 42369 / 63424 Next

Silently loading and Depends: versus NAMESPACE imports

On 27.01.2012 15:57, Dirk Eddelbuettel wrote:
Are you sure you want the messages in .onLoad rather than .onAttach?

See ?.onLoad and its "Good practice" section:

"Loading a namespace should where possible be silent, with startup 
messages given by .onAttach. These messages (and any essential ones from 
.onLoad) should use packageStartupMessage so they can be silenced where 
they would be a distraction."

Best,
Uwe
>