Run a Test

run_test(
test,
envir = parent.frame(),
local = TRUE,
args = list(),
defaults = list(),
output = "stdout+stderr",
timeout = getOption("future.tests.timeout", 30)
)

## Arguments

test A Test. The environment where tests are run. Should tests be evaluated in a local environment or not. Arguments used in this test. (optional) Named list with default argument values. If TRUE, standard output is captured, otherwise not. Maximum time allowed for evaluation before a timeout error is produced.

## Value

Value of test expression and benchmark information.