true: A robust implementation of isTRUE

View source: R/hints.r

trueR Documentation

A robust implementation of isTRUE

Description

Returns FALSE if evaluation expr yields an error or is not TRUE.

Usage

true(expr, envir = parent.frame())

Details

Useful for customized hints were evaluating an expression may often cause errors, e.g. if a user did not define a variable.


skranz/RTutor documentation built on Feb. 7, 2024, 12:53 a.m.