scripts.</p>
<p>A very lightweight approach is used:</p>
<ul>
<li><p>The user provides a set of <code>*.R</code> and/or <code>*.Rmd</code> files;</p></li>
<li><p>All R-code in the user-provided files is read and code-blocks are identified;</p></li>
<li><p>The non-trivial symbols from each code-block are retained (for instance, really common symbols like <code>&lt;-</code>, <code>,</code>, <code>+</code>, <code>(</code> are dropped);</p></li>
<li><p>Similarity between different blocks is calculated using <co