Skip to contents

Provides a brief summary of the packages installed on your machine.

Usage

lib_summary(sizes = FALSE)

Value

A data.frame containing a count of the packages in each of the user's libraries.

Examples

lib_summary()
#>                           Library n_packages
#> 1 /home/runner/work/_temp/Library         65
#> 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         65 72118788
#> 2      /opt/R/4.3.1/lib/R/library         29 69575875
#> 3 /opt/R/4.3.1/lib/R/site-library          1 14838588