span> if the function should be
exported</li>
</ul>
</div>
</div>
<div class="section level4">
<h4 id="testing">Testing<a class="anchor" aria-label="anchor" href="#testing"></a>
</h4>
<p>We use the testthat package for testing. Tests should be placed in
the <code>R/tests/testthat/</code> directory.</p>
<p>To run tests:</p>
<div class="sourceCode" id="cb9"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="fu">devtools</span><span class="fu">::</span><span class="fu"><a href="ht