
Last chance! 50% off unlimited learning
Sale ends in
read_graph
Read the igraph-style dependency graph of your targets
from your last attempted call to make()
.
For better graphing utilities, see plot_graph()
and related functions.
read_graph(path = getwd(), search = TRUE, cache = NULL, ...)
Root directory of the drake project,
or if search
is TRUE
, either the
project root or a subdirectory of the project.
logical. If TRUE
, search parent directories
to find the nearest drake cache. Otherwise, look in the
current working directory only.
optional drake cache. See codenew_cache().
If cache
is supplied,
the path
and search
arguments are ignored.
arguments to visNetwork()
via plot_graph()
either a plot or an igraph object, depending
on plot
# NOT RUN {
load_basic_example()
make(my_plan)
g <- read_graph(plot = FALSE)
class(g)
read_graph() # Actually plot the graph as an interactive visNetwork widget.
# }
Run the code above in your browser using DataLab