<span class="fu"><a href="https://rdrr.io/r/base/tempfile.html">tempfile</a></span>()
<span class="fu"><a href="https://rdrr.io/r/utils/download.file.html">download.file</a></span>(<span class="st">"http://ryantimpe.com/files/mf_unicorn.PNG"</span>, <span class="no">demo_img</span>, <span class="kw">mode</span><span class="kw">=</span><span class="st">"wb"</span>)

<span class="no">mosaic</span> <span class="kw">&lt;-</span> <span class="kw pkg">png</span><span class="kw ns">::</span><span class="fu"><a hre