Skip to contents

Assert that an expression is TRUE.

Usage

assertTrue(x, null = FALSE, call = parent.frame(), msg = NULL)

Arguments

x

Expression to check.

null

Whether it can be NULL.

call

Call argument that will be passed to cli error message.

msg

Custom error message.