title: How can I check whether a function call results in a warning?
body: <p>In R, how can I determine whether a function call results in a warning?</p>
  
  <p>That is, after calling the function I would like to know whether that instance of the call yielded a warning.</p>