lives.ok: lives.ok

Description Usage Arguments Details Value Author(s) Examples

View source: R/test.R

Description

Test that an expression lives OK

Usage

1
lives.ok(call, testname)

Arguments

call

An expression to evaluate

testname

A name for the test. Defaults to deparsing the call.

Details

Test that evaluating an expression lives OK (does not throw an exception)

Value

Runs one test. Returns the value of the evaluated expression

Author(s)

Brad Friedman

Examples

1
lives.ok(3+5, "addition lives OK")

AnalysisPageServer documentation built on April 28, 2020, 6:32 p.m.