="knitr r">#&gt; foo(bar, baz)
</pre>
<pre class="r"><code>
op &lt;- sym(&quot;&gt;&quot;)
expr((!!op)(bar, baz))</code></pre>
<pre class="knitr r">#&gt; bar &gt; baz
</pre>
</div>
<div id="a-new-print-method-for-quosures" class="section level3">
<h3>A new print method for quosures</h3>
<div id="problems-with-base-r-deparsing" class="section level4">
<h4>Problems with base R deparsing</h4>
<p>When R code is printed at the console (be it a function, an expression, a formula or a quosure), R runs the function