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

Description Usage Arguments Value See Also Examples

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
runApp_args(
  appDir = getwd(),
  test_port = httpuv::randomPort(),
  test_ip = getOption("shiny.host", "127.0.0.1"),
  test_path = tempdir(),
  test_trace = FALSE
)

golem_args(
  package_name = "",
  test_port = httpuv::randomPort(),
  test_ip = getOption("shiny.host", "127.0.0.1"),
  test_path = tempdir(),
  test_trace = FALSE
)

Arguments

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.

test_port

integer, port to run the app on. Default: httpuv::randomPort()

test_ip

The IPv4 address that the application should listen on.

test_path

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

test_trace

logical, turn on the shiny.trace option in the background proccess?. Default: FALSE

package_name

name of the golem package

Value

character

See Also

runApp, process

Other application: set_runapp_args()

Other application: set_runapp_args()

Examples

1
2
3

yonicd/reactor documentation built on Jan. 20, 2021, 4:40 a.m.