lass="op">)</span>
<span class="va">metadataObj</span> <span class="op">&lt;-</span> <span class="fu">new</span><span class="op">(</span><span class="st">"DataObject"</span>, id<span class="op">=</span><span class="va">doi</span>, format<span class="op">=</span><span class="st">"eml://ecoinformatics.org/eml-2.1.1"</span>, file<span class="op">=</span><span class="va">sampleEML</span><span class="op">)</span></code></pre></div>
<p>The <code>generateIdentifier</code> method requests that the DataONE MN genera