Skip to content

Commit

Permalink
[sankey] document and export sankey_explorer() (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjyetman committed Dec 25, 2023
1 parent bd002d4 commit 2916985
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export(as_sankey_data)
export(as_tree_data)
export(force_explorer)
export(force_network)
export(sankey_explorer)
export(sankey_network)
export(save_as_png)
export(save_as_svg)
Expand Down
11 changes: 11 additions & 0 deletions R/sankey_explorer.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
#' Interactive `sankey_network` options explorer
#'
#' @param data a network description in one of numerous forms (see details)
#'
#' @description
#' An interactive shiny widget to explore the `sankey_network` options.
#'
#' @md
#'
#' @export

sankey_explorer <- function(data) {
if (!requireNamespace("shiny", quietly = TRUE)) {
stop("You must have {shiny} installed to use `sankey_explorer()`")
Expand Down
14 changes: 14 additions & 0 deletions man/sankey_explorer.Rd

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

0 comments on commit 2916985

Please sign in to comment.