dep_graph_create_github: Create a dependency graph: GitHub

View source: R/dep_graph_create_github.R

dep_graph_create_githubR Documentation

Create a dependency graph: GitHub

Description

Create a dependency graph: GitHub.

Usage

dep_graph_create_github(
  refs,
  exclude = NULL,
  add_traffic = TRUE,
  node_size = NULL,
  reverse = FALSE,
  add_metadata = TRUE,
  verbose = TRUE
)

Arguments

refs

Reference for one or more GitHub repository in owner/repo format (e.g."neurogenomics/rworkflows"), or an R package name (e.g. "rworkflows").

exclude

A subset of of the main package's (pkg ) dependencies to exclude in the graph.

add_traffic

Add traffic metadata with github_traffic.

node_size

Strategy for setting node sizes. Can be one of:

  • NULL : Sets the target package node's size to 40 and the rest to 30.

  • <numeric> : User-provided node size. Sets all nodes to the same size.

  • <character> : User-provided metadata column name. Scales node size to a vector of numeric values in the node metadata.

reverse
  • FALSE (default)Create a forward dependency graph (packages that pkg depends on, and the packages that they depend on).

  • TRUECreate a reverse dependency graph (packages that depend on pkg, and the packages that depend on them).

add_metadata

Add metadata to the graph using github_metadata.

verbose

Print messages.


RajLabMSSM/echodeps documentation built on Oct. 31, 2023, 7:20 a.m.