R/R6_data.R

#' Shared App Data
#'
#' @description R6 Class to store dashboard data and share between modules
#'
#' @details Update this function when new data set slots (or new methods) are
#' required. An instance of this class is initiated in the app server and passed
#' on as an argument to all modules. The modules' server functions might update
#' the objects within the R6 slots. If this happens, be sure to set triggers
#' and watchers to notify the linked modules of the changes.
#' @field project the in app selection of project
#' @param classname A name for the class
#' @importFrom R6 R6Class
AppData <- R6::R6Class(
    classname = "AppData",
    list(
      metadata = NULL,
      project = NULL,
      data_list = NULL,
      app_list = NULL
    )
)
teofiln/gene.editing.dash documentation built on Feb. 21, 2022, 12:59 a.m.