<pre><code><span id="cb1-1"><a href="#cb1-1" tabindex="-1"></a>x[[<span class="st">"temperatureUnits"</span>]] <span class="ot">&lt;-</span> <span class="fu">list</span>(<span class="at">unit=</span><span class="fu">expression</span>(degree<span class="sc">*</span>F),<span class="at">scale=</span><span class="st">""</span>)</span></code></pre><p></p></div>
<p>Similarly, if <code>i</code> ends in <code>Flag</code>, then quality-control
flags are set up as defined by <code>result</code>, e.g.</p>
<p></p><div 