ll_run_gui: Run the user interface

View source: R/app_run.R

ll_run_guiR Documentation

Run the user interface

Description

This function runs the user interface for the lab logger.

Usage

ll_run_gui(
  group_id,
  access_token,
  pool,
  timezone = Sys.timezone(),
  app_pwd = NULL,
  app_title = group_id,
  app_color = "red",
  ...,
  launch = FALSE
)

Arguments

group_id

which group to run for

access_token

access token for particle account

pool

ideally database connection pool, see dbPool but can also be a single db connection (not recommended)

app_title

the title of the application

app_color

the dashboard color, see dashboardPage skin for available options

...

passed on to the runApp call (only if launch = TRUE), can include server-specific parameters such as host or port

launch

whether to launch the app (TRUE) or return a shiny app object (FALSE) that then can be launched via runApp (note: if launch=FALSE, ... gets ignored)

password

which password to require for login. If NULL, login will be automatic. (NOTE: maybe manage by data base at some point?)


KopfLab/lablogger documentation built on July 6, 2023, 12:03 a.m.