Skip to contents

Validates the output of criterion functions to ensure it is a logical value. This is used to confirm that the criterion functions are returning expected results.

Usage

validate_crit_output(output)

Arguments

output

The output from a criterion function.

Value

An error message if validation fails, otherwise NA.