pan>)</span>
<span id="cb29-7"><a href="#cb29-7" tabindex="-1"></a><span class="co">#&gt; [1] &quot;apple&quot;              &quot;pearpear&quot;           &quot;bananabananabanana&quot;</span></span>
<span id="cb29-8"><a href="#cb29-8" tabindex="-1"></a></span>
<span id="cb29-9"><a href="#cb29-9" tabindex="-1"></a><span class="co"># stringr</span></span>
<span id="cb29-10"><a href="#cb29-10" tabindex="-1"></a><span class="fu">str_dup</span>(fruit, <span class="dv">2</span>)</span>
<span id="cb29-11"><a hre