replay: Replay a list of evaluated results.

Description Usage Arguments Examples

View source: R/replay.r

Description

Replay a list of evaluated results, as if you'd run them in an R terminal.

Usage

1
replay(x)

Arguments

x

result from evaluate

Examples

1
2
3
4
5
6
samples <- system.file("tests", "testthat", package = "evaluate")
if (file_test("-d", samples)) {
    replay(evaluate(file(file.path(samples, "order.r"))))
    replay(evaluate(file(file.path(samples, "plot.r"))))
    replay(evaluate(file(file.path(samples, "data.r"))))
}

evaluate documentation built on Oct. 10, 2018, 1:03 a.m.