Provide the number of R packages by library in a data frame
Usage
lib_summary(by = .data$LibPath, sizes = FALSE)
Arguments
- by
tidy-select columns to group by. Defaults to LibPath
- sizes
logical should file sizes be calculated? Defaults
to FALSE
Value
a data.frame of R packages by library
Examples
lib_summary()
#> # A tibble: 3 × 2
#> LibPath n
#> <chr> <int>
#> 1 /home/runner/work/_temp/Library 68
#> 2 /opt/R/4.4.2/lib/R/library 29
#> 3 /opt/R/4.4.2/lib/R/site-library 1