hbours<a class="anchor" aria-label="anchor" href="#distance-neighbours-1"></a>
</h4>
<p>Distance neighbours are more problematic. While
<code><a href="../reference/nbdists.html">nbdists()</a></code> works well with <strong>s2</strong> spherical
coordinates, none of the tried adaptations for <code><a href="../reference/dnearneigh.html">dnearneigh()</a></code>
work adequately yet. An argument <code>use_s2=</code> is set to TRUE if
<strong>s2</strong> &gt; 1.0-7, using
<code><a href="https://r-spatial.github.i