package-" class="anchor"></a>Using a Digital Object Identifier with a package.</h2>
<p>A Digital Object Identifier (DOI) may be assigned to the metadata <em>DataObject</em>, using the <em>generateIdentifier</em> method:</p>
<div class="sourceCode" id="cb13"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span class="va">cn</span> <span class="op">&lt;-</span> <span class="fu"><a href="../reference/CNode.html">CNode</a></span><span class="op">(</span><span class="st">"STAGING"</span><span clas