A general message and error reporting system for R