run.example.tests: Run example tests

Description Usage Arguments Details

View source: R/tex.r

Description

Reruns all examples that have been originally evaluated and stored in an example test.

Usage

1
2
run.example.tests(et, log.file = "example_test_log.Rmd",
  parent.env = parent.frame())

Arguments

et

An example test originally created with create.example.tests

log.file

The file name of the log. Should be an Rmd file.

parent.env

The parent environment in which examples are evaluated.

Details

Returns the number of calls that now return different values or throw an error and writes a detailed log as Rmd file.


skranz/testexamples documentation built on Nov. 28, 2019, 12:12 a.m.