Attach commands for starting shiny application using runApp or golem commands to the reactor object.
set_runapp_args( obj, appDir = getwd(), test_port = httpuv::randomPort(), test_path = tempdir(), test_ip = getOption("shiny.host", "127.0.0.1"), test_trace = FALSE, verbose = TRUE ) set_golem_args( obj, package_name = "", test_port = httpuv::randomPort(), test_path = tempdir(), test_ip = getOption("shiny.host", "127.0.0.1"), test_trace = FALSE, verbose = TRUE )
obj | reactor object |
---|---|
appDir | The application to run. Should be one of the following (Default: getwd()):
|
test_port | integer, port to run the app on. Default: httpuv::randomPort() |
test_path | character, Path the child process will have access to on the master, Default: tempdir() |
test_ip | The IPv4 address that the application should listen on. |
test_trace | logical, turn on the shiny.trace option in the background proccess?. Default: FALSE |
verbose | logical, reactor willn notify the action taken. Default: TRUE |
package_name | name of the golem package |
reactor object
Other application:
runApp_args()
Other application:
runApp_args()