Nothing
# Used by getGlobalsAndPackages()
ConstantFuture <- function(..., globals = NULL, packages = NULL, stdout = NA, conditions = NULL, seed = NULL, lazy = FALSE, envir = emptyenv()) {
future <- Future(..., NULL, packages = NULL, stdout = NA, conditions = NULL, seed = NULL, lazy = FALSE, envir = envir)
t_start <- Sys.time()
future[["result"]] <- FutureResult(
value = eval(future[["expr"]], envir = envir),
started = t_start,
finished = t_start
)
future[["state"]] <- "finished"
future <- structure(future, class = c("ConstantFuture", class(future)))
future
}
#' @export
run.ConstantFuture <- function(future, ...) {
future
}
#' @export
result.ConstantFuture <- function(future, ...) {
future[["result"]]
}
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.