A Shiny app object, or a string naming an app directory.
file
Name of output file. Should end with .png, .pdf, or
.jpeg.
...
Other arguments to pass on to webshot.
port
Port that Shiny will listen on.
envvars
A named character vector or named list of environment
variables and values to set for the Shiny app's R process. These will be
unset after the process exits. This can be used to pass configuration
information to a Shiny app.