set_app: Set up the interactions server

View source: R/set_app.R

set_appR Documentation

Set up the interactions server

Description

'interactingan' package creates a Shiny app to allow the interactions, this app must be hosted on any Shiny server, by default it will try to use [shinyapps.io](shinyapps.io). Calling this function will reset all existing interaction objects. At the moment, just one interactive object per slide is allowed.

Usage

set_app(
  app_name = "presentation",
  key = "IACC",
  url = NULL,
  out_dir = tempdir(),
  ...
)

Arguments

app_name

A character -string- with the name of the Shiny app to create. Must be unique in your Shiny server, or it will overwrite it.

key

A character -string- with a personal key to access interactions viewer.

url

A character -string- (optional) to provide a valid existing 'interactingan' server instance that was previously configured. For instance, if the 'interactingan' server app is going to be deployed in an own Shiny server.

out_dir

A character -string- (optional) indicating the path in which to save the 'interactingan' server app file. It is useful if the app is going to be deployed to an own Shiny server.

...

Additional parameters passed to 'rsconnect::deployApp' function.

Details

To enter the 'interactingan' server admin panel, in a browser, enter to the URL: "SERVER_URL/?viewer='key'&admin", for example https://my_username.shinyapps.io/presentation/?viewer=IACC&admin

Value

A QR code image that will point to the server url.


jcrodriguez1989/interactingan documentation built on June 7, 2024, 10:57 a.m.