Skip to contents

Run a Shiny app to host a network visualization

Usage

run_shiny_app(
  uiFunction = define_app_ui,
  serverFunction = define_app_server,
  network_object,
  network_title = "Function Network",
  project_path,
  foo_path
)

Arguments

uiFunction

Function defining shiny user-interface

serverFunction

Function defining shiny server logic

network_object

visNetwork object to be displayed in the shiny app

network_title

Title to be displayed in hte app above the title

project_path

Path to the project directory

foo_path

Path to the function folder

Value

A shiny app

Examples

if (FALSE) { # \dontrun{
network_object <- visualise_project(
    project_path = "tests/testthat/example_project",
    foo_path = "R",
    test_path = "tests/testthat",
    run_coverage = TRUE
 )

 run_shiny_app(network_object = network_object)
} # }