Skip to contents

Autosave module server

Usage

autosave_module_server(
  id,
  auto_save_path = get_app_path("autosave_dir"),
  metric_save_path = get_app_path("metric_autosave_dir"),
  selected_genera,
  shared_reactives,
  metric_scores,
  auto_save_interval = 30,
  group_defs,
  demo_mode = FALSE
)

Arguments

id

Module identifier.

auto_save_path

Path where autosave RDS files are stored.

metric_save_path

Path where metric autosave RDS files are stored.

selected_genera

Reactive values of selected genera.

shared_reactives

Shared reactive values for the session.

metric_scores

Reactive values for metric scores.

auto_save_interval

Interval in seconds between autosaves.

group_defs

Data frame with columns section_id, group_id, group_name mapping modules to stable taxonomic groups.

demo_mode

Logical indicating whether the app is running in demo mode on shinyapps.io.