Skip to contents

Provides a brief summary of this package libraries on your machine

Usage

lib_summary(sizes = FALSE)

Arguments

sizes

A logical value indicating whether to calculate sizes. Default FALSE

Value

A data.frame containing the count of the packages in each of the user's libraries, If sizes = TRUE, a column of library sizes will be added.

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 72836875
#> 2      /opt/R/4.3.1/lib/R/library         29 69575875
#> 3 /opt/R/4.3.1/lib/R/site-library          1 14838588