explore_package: Maps relationships between functions in a package.

Description Usage Arguments Value

Description

This function takes the name of an R package and explores each function within that package to map which other functions that function calls. This creates "dependency graph" between the functions, which can allow you to quickly understand how a package fits together, and also diagnose pathologies in package code like excessive or unwarranted coupling between functions or orphaned functions. The returned data is a list.

Usage

1
explore_package(package_name, show_progress = FALSE, ...)

Arguments

package_name

a character string containing the name of an installed package

show_progress

a boolean indicating whether to display a progress bar.

Value

A list of each function in the package, each either NULL or a vector of character strings referring to which other functions the function calls.


aaronrudkin/werner documentation built on May 23, 2019, 6:03 a.m.