l but 5 images from cans and cartons, and tag them</span></span>
<span id="cb5-7"><a href="#cb5-7"></a>can_ids &lt;- <span class="kw">add_images</span>(testproj, cans[<span class="op">-</span>(<span class="dv">1</span><span class="op">:</span><span class="dv">5</span>)], <span class="dt">tags=</span><span class="st">&quot;can&quot;</span>)</span>
<span id="cb5-8"><a href="#cb5-8"></a>carton_ids &lt;- <span class="kw">add_images</span>(testproj, cartons[<span class="op">-</span>(<span class="dv">1</span><s