assertion_arguments: Standard Assertion Arguments

assertion_argumentsR Documentation

Standard Assertion Arguments

Description

The documentation to this function lists all the conventional arguments in additional checkmate assertions.

Arguments

x

an object to check.

null.ok

(flag)
whether x may also be NULL.

.var.name

(string)
name of the checked object to print in assertions; defaults to the heuristic implemented in checkmate::vname().

add

(AssertCollection or NULL)
collection to store assertion messages, see checkmate::AssertCollection.

info

(string)
extra information to be included in the message for the testthat reporter, see testthat::expect_that().

label

(string)
name of the checked object to print in messages. Defaults to the heuristic implemented in checkmate::vname().


insightsengineering/hermes documentation built on March 11, 2024, 11:04 p.m.