Skip to contents

Provide the number of R packages by library in a data.frame

Usage

lib_summary(sizes = FALSE)

Arguments

sizes

should library size be calculated? Default is FALSE

Value

a data frame of R packages by library

Examples

lib_summary()
#>                           Library n_packages
#> 1 /home/runner/work/_temp/Library         65
#> 2      /opt/R/4.4.2/lib/R/library         29
#> 3 /opt/R/4.4.2/lib/R/site-library          1