runApp_args: Arguments to pass to a Shiny App in a child process

Description Usage Arguments Value See Also Examples

View source: R/app_args.R

Description

The command is appended predefined commands and sent to a process object.

Usage

1
2
3
4
5
6
7
8
9
runApp_args(
  test_port = 6012,
  test_path = tempdir(),
  appDir = getwd(),
  host = getOption("shiny.host", "127.0.0.1"),
  workerId = ""
)

golem_args(test_port = 6012, test_path = tempdir())

Arguments

test_port

numeric, port to run the app on, Default: 6012 Default: getOption("shiny.host", "127.0.0.1")

test_path

character, Path the child process will have access to on the master, Default: tempdir()

appDir

The application to run. Should be one of the following (Default: getwd()):

  • A directory containing server.R, plus, either ui.R or a www directory that contains the file index.html.

  • A directory containing app.R.

  • An .R file containing a Shiny application, ending with an expression that produces a Shiny app object.

host

The IPv4 address that the application should listen on.

workerId

Can generally be ignored. Exists to help some editions of Shiny Server Pro route requests to the correct process. Default: ""

Value

character

See Also

runApp, process

Examples

1
2
3

yonicd/reactor documentation built on Oct. 12, 2020, 3:20 a.m.