On 10 June 2011 at 16:04, Simon Urbanek wrote:
| On Jun 10, 2011, at 3:36 PM, Dirk Eddelbuettel wrote:
| > | That said, you can simply use cat() in .First.lib (if your packages has 
no namespace) or .onAttach or .onLoad (if your packages has a namespace).
| > 
| > No, not cat() --- please use   packageStartupMessage()   as that can 
actually 
| > be suppressed easily.
| > 
| 
| Thanks, very, very good point -- that many package authors did not get (I 
actually checked a few packages before replying and they all use cat() ... eek).

Yup :)  I have over the years contacted a few fellow package authors to get
this changes.  

Lots to do still.  Maybe R CMD check should look into .onLoad() et al?

Dirk

-- 
Gauss once played himself in a zero-sum game and won $50.
                      -- #11 at http://www.gaussfacts.com

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to