Skip to contents

Plot dependency map of a function

Usage

plot_function_dependencies(
  package_name,
  fun,
  pattern_ignore = NULL,
  pattern_dont_recurse = NULL
)

Arguments

package_name

Name of pattern. Character vector, length 1

fun

Name of function. Character vector, length 1

pattern_ignore

NULL or character vector of regex patterns. If present, recursive_deps will ignore any functions that match the pattern(s) character vector. Can take multiple patterns.

pattern_dont_recurse

NULL or character vector of regex patterns. If present, recursive_deps will list functions that match the pattern(s), but will not recurse into those functions.. Can take multiple patterns.

Value

visNetwork plot

Examples

plot_function_dependencies("purrr", "map")
plot_function_dependencies("purrr", "map_df")