ith data from directory</span></span></span>
<span class="r-in"><span><span class="va">sp_data</span> <span class="op">&lt;-</span> <span class="fu">files_2data</span><span class="op">(</span>path <span class="op">=</span> <span class="va">tdir</span>, format <span class="op">=</span> <span class="st">"gpkg"</span>, spdf_grid <span class="op">=</span> <span class="va">grid_reg</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 
  |                           