Nothing
forecast_new <- function(seconds_interval = NULL) {
forecast_class$new(seconds_interval = seconds_interval)
}
forecast_class <- R6::R6Class(
classname = "tar_forecast",
inherit = reporter_class,
class = FALSE,
portable = FALSE,
cloneable = FALSE,
public = list(
flush_messages = function() {
if (!is.null(self$buffer)) {
message(self$buffer, appendLF = FALSE)
self$buffer <- NULL
}
},
report_outdated = function(outdated) {
self$buffer <- cli_forecast(outdated$cli_data(), print = FALSE)
self$poll()
},
report_end = function(progress = NULL, seconds_elapsed = NULL) {
self$flush_messages()
message("")
}
)
)
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.