="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb3-1" title="1"><span class="kw">library</span>(attempt)</a></code></pre></div>
<div id="attempt-1" class="section level2">
<h2 class="hasAnchor">
<a href="#attempt-1" class="anchor"></a>attempt</h2>
<p><code><a href="reference/attempt.html">attempt()</a></code> is a wrapper around base <code>try()</code> that allows you to insert a custom messsage on error.</p>
<div class="sourceCode" id="cb4"><pre class="sourceCode r"><code class="sourc