replay: Replay a list of evaluated results.

View source: R/replay.R

replayR Documentation

Replay a list of evaluated results.

Description

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

Usage

replay(x)

Arguments

x

result from evaluate()

Examples

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 Nov. 2, 2023, 5:18 p.m.