Skip to contents

Runs the test formods. app.

Usage

run_formods(
  host = "127.0.0.1",
  port = 3838,
  server_opts = list(shiny.maxRequestSize = 30 * 1024^2),
  devmode = FALSE,
  mksession = FALSE
)

Arguments

host

Hostname of the server ("127.0.0.1")

port

Port number for the app (3838)

server_opts

List of options (names) and their vlues (value) e.g. list(shiny.maxRequestSize = 30 * 1024^2).

devmode

Boolean value, when TRUE will run formods with development modules.

mksession

Boolean value, when TRUE will load test session data for app testing.

Value

Nothing is returned, this function just runs the built-in formods app.

Examples

if (interactive()) {
run_formods()
}