Plot package statistics in the console
plot_pkg.Rd
Plots data retrieved from get_code_stats()
, inspect_package()
and returns the results in the console.
Usage
plot_pkg(x, type = c("package", "metric"), ...)
Arguments
- x
A tibble from
get_code_stats()
,inspect_package()
or a combined result.- type
One of
"package"
or"metric"
."package"
shows a per-package breakdown;"metric"
compares packages across each metric.- ...
Additional arguments passed to the plotting functions.