checkNamed(letters)
#> [1] "Must have Object"
f <- function(x) assertNamed(x)
f(letters)
#> Error in f(letters) : Assertion on 'x' failed: Must have Object.
The message is not very descriptive of what is expected here.
I know this is deprecated, so feel free to close.
The message is not very descriptive of what is expected here. I know this is deprecated, so feel free to close.