"linking-to-a-package">Linking to a package<a class="anchor" aria-label="anchor" href="#linking-to-a-package"></a>
</h3>
<p>The reason all the C++ code is in header files in
<code>inst/include</code> is so you can call this code from another
library. To do so</p>
<ol style="list-style-type: decimal">
<li>Set the <code>LinkingTo</code>
</li>
</ol>
<p>For example, here’s the <a href="https://github.com/dcooley/gpx/blob/master/DESCRIPTION" class="external-link">Description</a>
file of the <code>gpx</code> pa