The goal of libminer is to provide utility functions for inspecting and examining your local R package installations.
This is a R package developed as part of my workshop participation in ‘Fundamentals of R Package Development’ at the Posit Conference 2023! Credit for this package and its code goes to @ateucher.
You can install the development version of libminer from GitHub with:
# install.packages("devtools")
devtools::install_github("awesomecosmos/libminer")
This is a basic example which shows you how to solve a common problem:
library(libminer)
lib_summary()
#> Library
#> 1 /Library/Frameworks/R.framework/Versions/4.2/Resources/library
#> 2 /private/var/folders/mm/6lyr9rbs7vd53tnvwt0676zm0000gn/T/Rtmpt0b9cr/temp_libpath150642ac1fe4d
#> n_packages
#> 1 171
#> 2 1
# can also calculate total file sizes
# lib_summary(sizes = TRUE)