Skip to contents

Provides a brief summary of the package libraries on your machine.

Usage

lib_summary(sizes = FALSE)

Arguments

sizes

a logical indicating whether or not to calculate sizes

Value

A data.frame containing the count of packages in each of your libraries.

Examples

lib_summary()
#>                           library n_packages
#> 1 /home/runner/work/_temp/Library         69
#> 2      /opt/R/4.3.1/lib/R/library         29
#> 3 /opt/R/4.3.1/lib/R/site-library          1
lib_summary(sizes = TRUE)
#>                           library n_packages lib_size
#> 1 /home/runner/work/_temp/Library         69 71393789
#> 2      /opt/R/4.3.1/lib/R/library         29 69574120
#> 3 /opt/R/4.3.1/lib/R/site-library          1 14569622