lives.ok {AnalysisPageServer}R Documentation

lives.ok

Description

Test that an expression lives OK

Usage

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

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

[Package AnalysisPageServer version 1.16.0 Index]