  rw-r--r--         45.1K 2018-01-19 08:32:19
#&gt; 4 COPYRIGHTS                 rw-r--r--         24.1K 2018-01-19 08:32:18
#&gt; 5 tests/testthat/test-path.R rw-r--r--         11.2K 2018-01-19 08:32:18</code></pre>
<p>Tabulate and display folder size.</p>
<pre class="r"><code>dir_info(recursive = TRUE) %&gt;%
  group_by(directory = path_dir(path)) %&gt;%
  tally(wt = size, sort = TRUE)
#&gt; # A tibble: 8 x 2
#&gt;   directory                n
#&gt;   &lt;fs::path&gt;     &lt;fs::bytes&gt;
#&gt; 1 libs   