Skip to content

Commit

Permalink
Fix bugs in suppressed examples
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau-lilly committed Nov 18, 2019
1 parent 0685fb0 commit 32b0695
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions R/sankey_drake_graph.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#' if (requireNamespace("networkD3", quietly = TRUE)) {
#' if (requireNamespace("visNetwork", quietly = TRUE)) {
#' # Plot the network graph representation of the workflow.
#' sankey_drake_graph(config, width = '100%')
#' sankey_drake_graph(config)
#' # Show the legend separately.
#' visNetwork::visNetwork(nodes = drake::legend_nodes())
#' make(my_plan) # Run the project, build the targets.
Expand Down Expand Up @@ -135,7 +135,7 @@ sankey_drake_graph <- function(
#' # You can pass the data frames right to render_sankey_drake_graph()
#' # (as in sankey_drake_graph()) or you can create
#' # your own custom visNewtork graph.
#' render_sankey_drake_graph(graph, width = '100%')
#' render_sankey_drake_graph(graph)
#' }
#' }
#' }
Expand Down
4 changes: 2 additions & 2 deletions R/vis_drake_graph.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#' config <- drake_config(my_plan)
#' # Plot the network graph representation of the workflow.
#' if (requireNamespace("visNetwork", quietly = TRUE)) {
#' vis_drake_graph(config, width = '100%') # The width is passed to visNetwork
#' vis_drake_graph(config)
#' make(my_plan) # Run the project, build the targets.
#' vis_drake_graph(config) # The red nodes from before are now green.
#' # Plot a subgraph of the workflow.
Expand Down Expand Up @@ -180,7 +180,7 @@ vis_drake_graph <- function(
#' # You can pass the data frames right to render_drake_graph()
#' # (as in vis_drake_graph()) or you can create
#' # your own custom visNewtork graph.
#' render_drake_graph(graph, width = '100%') # Width is passed to visNetwork.
#' render_drake_graph(graph)
#' }
#' }
#' })
Expand Down
2 changes: 1 addition & 1 deletion man/render_drake_graph.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/render_sankey_drake_graph.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/sankey_drake_graph.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/vis_drake_graph.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 32b0695

Please sign in to comment.