but for errors. Here is the same code as above
but without the <code>tryCatch()</code>:</p>
<pre class="r"><code>callr::r(function() library(Callr))
#&gt; Error: callr subprocess failed: there is no package called ‘Callr’</code></pre>
<pre class="r"><code>.Last.error
#&gt; &lt;callr_status_error: callr subprocess failed: there is no package called ‘Callr’&gt;
#&gt; --&gt;
#&gt; &lt;callr_remote_error in library(Callr): there is no package called ‘Callr’&gt;
.Last.error$parent$call
#&gt; function