Message <- R6::R6Class(
"Message",
inherit = TicStep,
public = list(
initialize = function(msg = NULL) self$msg <- msg,
run = function() message(self$msg),
msg = character()
)
)
step_message <- function(msg) {
Message$new(msg)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.