Newly tracked file
R/mermaid.R
changed.
Newly tracked file
R/render_graph.R
changed.
Other files ignored by Codecov
man/render_graph.Rd
has changed.
man/mermaid.Rd
has changed.
19 | 19 | #' Markdown documents, and within Shiny output bindings. |
|
20 | 20 | #' |
|
21 | 21 | #' @examples |
|
22 | - | #' \donttest{ |
|
23 | 22 | #' # Create a simple graph running left to right (note |
|
24 | 23 | #' # that the whitespace is not important) |
|
25 | 24 | #' # DiagrammeR(" |
117 | 116 | #' # ticket seller->>customer: sorry; |
|
118 | 117 | #' # end |
|
119 | 118 | #' # ") |
|
120 | - | #' } |
|
121 | 119 | #' |
|
122 | 120 | #' @import htmlwidgets |
|
123 | 121 | #' @export |
16 | 16 | #' @param height An optional parameter for specifying the height of the |
|
17 | 17 | #' resulting graphic in pixels. |
|
18 | 18 | #' @examples |
|
19 | - | #' \donttest{ |
|
19 | + | #' if (interactive()) { |
|
20 | + | #' |
|
20 | 21 | #' # Render a graph that's a |
|
21 | 22 | #' # balanced tree |
|
22 | 23 | #' create_graph() %>% |
58 | 59 | #' output = "visNetwork") |
|
59 | 60 | #' } |
|
60 | 61 | #' |
|
61 | - | #' @import glue glue |
|
62 | 62 | #' @family Display and Save |
|
63 | + | #' |
|
63 | 64 | #' @export |
|
64 | 65 | render_graph <- function(graph, |
|
65 | 66 | layout = NULL, |
Files | Coverage |
---|---|
R | 81.03% |
Project Totals (241 files) | 81.03% |