Skip to contents

Base R replacement for assertthat::assert_that

Usage

assert_condition(cond, msg = "Assertion failed")

Arguments

cond

Logical condition to check

msg

Error message if condition is FALSE

Value

Invisible TRUE if assertion passes