ss="r-in"><span><span class="co"># don't normally want to catch warnings,</span></span></span>
<span class="r-in"><span><span class="co"># doing it here as this is an example </span></span></span>
<span class="r-in"><span><span class="co"># and must not have unhandled warnings.</span></span></span>
<span class="r-in"><span><span class="kw"><a href="https://rdrr.io/r/base/conditions.html" class="external-link">tryCatch</a></span><span class="op">(</span></span></span>
<span class="r-in"><span>  <span class="