e R"><span class="va">dp</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://docs.ropensci.org/datapack/reference/addMember.html">addMember</a></span><span class="op">(</span><span class="va">dp</span>, <span class="va">metadataObj</span><span class="op">)</span></code></pre></div>
<p>Files are considered members of a package when they are enumerated and described by a metadata file, and a relationship between the metadata and data object is explicitly stated.</p>
<p>DataONE (and the <cod