# Bookmark
#
# Why use a custom bookmark ?
# Why a class ? Why a R6 class ?
#
#' @title Bookmark
#' @description Bookmark class used to bookmark and restore application state.
#'
#'
#' @keywords internal
#' @export
#' @importFrom R6 R6Class
Bookmark <- R6::R6Class(classname = "Bookmark",
public = list(
"data"=list(),
"global_params"=list(),
"chain_ladder"=list(), # list of the different methods/configurations
"bootstrap"=list(), # list of the different methods/configurations
bookmark=function(state){
# TODO
# get active methods
# update methods
},
restore=function(state){
# TODO
# transform list to reactiveValues
}
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.