Skip to content
Prev 20329 / 63424 Next

Wishlist: 'quietly' argument for .onAttach() / .First.lib()

Peter Ruckdeschel <Peter.Ruckdeschel at uni-bayreuth.de> writes:
It's nice to see code instead of discussion :-)

I had a quick look and for what it's worth, a few comments...

* Seems a bit more code than I would expect.  I think you have some
  use cases that I don't have ;-).  In terms of general use, I would
  suggest making a stab at a simplified version.  For example, what's
  the difference between startupMessage and startupVersionMessage; are
  both needed?  And linestarter?

* Consider adding a customizable restart.  As it stands, startupmsg
  doesn't give a user more control than message().  That is, you can
  either muffle the messages or not.  If I want to write them to a
  file or prefix them with funny characters, doing so by grabbing hold
  of the message before it is emitted via the restart seems like a
  nice approach (although one could argue for a more general system
  logging system that probably would not need the fancy condition
  system use).

Thanks for sharing your code.


Cheers,

+ seth