Nothing
#_______________________________________________________________________________
#---- scenario_actions class ----
#_______________________________________________________________________________
#'
#' Scenario actions class.
#'
#' @export
setClass(
"scenario_actions",
representation(
),
contains = "pmx_list",
prototype = prototype(type="scenario_action")
)
#_______________________________________________________________________________
#---- loadFromJSON ----
#_______________________________________________________________________________
setMethod("loadFromJSON", signature=c("scenario_actions", "json_element"), definition=function(object, json) {
for (jsonAction in json@data) {
if (jsonAction$type=="replace_action") {
object <- object %>%
add(loadFromJSON(ReplaceAction(NA), JSONElement(jsonAction)))
} else {
stop("Only replacement actions are supported for now")
}
}
return(object)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.