Simply checks if an argument is FALSE.
[any]
Object to check.
[logical(1)]
Are missing values allowed? Default is FALSE.
[character(1)]
Name of the checked object to print in assertions. Defaults to
the heuristic implemented in vname.
[AssertCollection]
Collection to store assertion messages. See AssertCollection.
Depending on the function prefix:
If the check is successful, the functions
assertFALSE./assert_false. return
x invisibly, whereas
checkFALSE./check_false. and
testFALSE./test_false. return
TRUE.
If the check is not successful,
assertFALSE./assert_false.
throws an error message,
testFALSE./test_false.
returns FALSE,
and checkFALSE./check_false.
return a string with the error message.
The function expect_false. always returns an
expectation.
testFALSE(FALSE)
#> [1] TRUE
testFALSE(TRUE)
#> [1] FALSE