Skip to contents

Inspect packages

Count files and lines of code in local, GitHub or CRAN packages.

pkg_summary()
Summarise package structure and lines of code
pkg_structure()
Count files and folders in packages
pkg_lines()
Count lines of R code in packages
pkg_functions()
List the functions defined in packages

Package history

Follow a CRAN package across its releases.

pkg_history()
Follow a package across its CRAN releases
pkg_versions()
List the CRAN releases of a package

Visualise

pkg_plot() plot(<pkginspectr_tbl>)
Plot package statistics in the console

Helpers

pkginspectr_example()
Path to the example package bundled with pkginspectr
pkg_cache_clear()
Clear the cache of downloaded packages