Nothing
source("incl/start.R")
library("listenv")
message("*** constant() ...")
## No global variables
f <- try(constant(42L), silent = FALSE)
print(f)
stopifnot(inherits(f, "ConstantFuture"))
print(resolved(f))
y <- value(f)
print(y)
stopifnot(y == 42L)
plan(constant)
## No global variables
f <- try(future(42L), silent = FALSE)
print(f)
stopifnot(inherits(f, "ConstantFuture"))
print(resolved(f))
y <- value(f)
print(y)
stopifnot(y == 42L)
message("*** constant() ... DONE")
source("incl/end.R")
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.