For more user-friendly graphing utilities,
see vis_drake_graph()
and related functions.
read_drake_graph(path = getwd(), search = TRUE, cache = NULL, verbose = drake::default_verbose(), ...)
path | Root directory of the drake project,
or if |
---|---|
search | logical. If |
cache | drake cache. See |
verbose | logical or numeric, control printing to the console.
Use
|
... | arguments to |
An igraph
object representing the dependency
network of the workflow.
vis_drake_graph()
, read_drake_config()
# NOT RUN { test_with_dir("Quarantine side effects.", { load_basic_example() # Get the code with drake_example("basic"). make(my_plan) # Run the project, build the targets. # Retrieve the igraph network from the cache. g <- read_drake_graph() class(g) # "igraph" }) # }