powered by
Checks that at least one check passes.
checkor(..., error = TRUE)
The checks to check.
A flag indicating whether to throw an informative error or immediately generate an informative message if all checks fails.
An invisible flag indicating whether at least one check passes (if it doesn't throw an error).
# NOT RUN { checkor(check_null(NULL), check_null(1), error = FALSE) checkor(check_null(1), check_null(1), error = FALSE) checkor(check_null(1), check_null(2), error = FALSE) # }
Run the code above in your browser using DataLab