Skip to contents

Provides a brief summary of the package libraries on your machine

Usage

lib_summary(..., sizes = FALSE)

Arguments

...

Grouping variables for the summary. Zero or more of the column names from lib().

sizes

Should the sizes of the libraries be calculated? Logical; default FALSE.

Value

A data.frame containing the count of packages in each of the user's libraries. A size column is included if sizes = TRUE.

Examples

lib_summary()
#> # A tibble: 1 × 1
#>       n
#>   <int>
#> 1    96
lib_summary(sizes = TRUE)
#>  Calculating sizes...
#> # A tibble: 1 × 2
#>       n      size
#>   <int>     <dbl>
#> 1    96 149684934