Debian Codegraph @

man/graphviz.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/graphviz.R
3 \name{graphviz}
4 \alias{graphviz}
5 \title{Generate a Package Dependency Graph}
6 \usage{
7 graphviz(
8 root = NULL,
9 leaf = NULL,
10 ...,
11 suggests = FALSE,
12 enhances = FALSE,
13 resolver = NULL,
14 renderer = c("DiagrammeR", "visNetwork"),
15 attributes = list(),
16 project = NULL
17 )
18 }
19 \arguments{
20 \item{root}{The top-most package dependencies of interest in the dependency graph.}
21
22 \item{leaf}{The bottom-most package dependencies of interest in the dependency graph.}
23
24 \item{...}{Unused arguments, reserved for future expansion. If any arguments
25 are matched to \code{...}, renv will signal an error.}
26
27 \item{suggests}{Should suggested packages be included within
28 the dependency graph?}
29
30 \item{enhances}{Should enhanced packages be included within
31 the dependency graph?}
32
33 \item{resolver}{An \R function accepting a package name, and returning the
34 contents of its \code{DESCRIPTION} file (as an \R \code{data.frame} or \code{list}).
35 When \code{NULL} (the default), an internal resolver is used.}
36
37 \item{renderer}{Which package should be used to render the resulting graph?}
38
39 \item{attributes}{An \R list of graphViz attributes, mapping node names to
40 attribute key-value pairs. For example, to ask graphViz to prefer orienting
41 the graph from left to right, you can use \code{list(graph = c(rankdir = "LR"))}.}
42
43 \item{project}{The project directory. If \code{NULL}, then the active project will
44 be used. If no project is currently active, then the current working
45 directory is used instead.}
46 }
47 \description{
48 Generate a package dependency graph.
49 }
50 \examples{
51
52 \dontrun{
53 # graph the relationship between devtools and rlang
54 graphviz(root = "devtools", leaf = "rlang")
55
56 # figure out why a project depends on 'askpass'
57 graphviz(leaf = "askpass")
58 }
59
60 }
61 \keyword{internal}