Skip to contents

[Deprecated]

These functions were renamed in pkginspectr 0.2.0 so that all exported functions share the pkg_ prefix and are named after what they return:

The old names still work but warn. get_code_stats() keeps returning its original columns; use pkg_lines() for the full, non-overlapping breakdown.

Usage

inspect_package(path = ".", include_ignored = FALSE)

get_code_stats(path = ".", include_ignored = FALSE)

plot_pkg(x, type = c("package", "metric"), ...)

clear_pkg_cache(type = c("session", "persistent"))

Arguments

path, include_ignored

See pkg_lines().

x, ...

See pkg_plot(). Arguments that pkg_plot() does not accept are ignored with a warning.

type

See pkg_plot() or pkg_cache_clear().