Closed harvey131 closed 2 years ago
I would like to confirm that it was intentional that this behavior changed between 2.0.0 and 2.1.0
On 2.0.0 this would fail: checkmate::assertIntegerish(NA_character_, any.missing = T, all.missing = T)
checkmate::assertIntegerish(NA_character_, any.missing = T, all.missing = T)
But on 2.1.0 it will pass.
Yes, this is intended, but more like a side effect of a bugfix. In v2.0.0, checkmate complained about x being character, but checkmate usually does not type check on NA.
x
I would like to confirm that it was intentional that this behavior changed between 2.0.0 and 2.1.0
On 2.0.0 this would fail:
checkmate::assertIntegerish(NA_character_, any.missing = T, all.missing = T)
But on 2.1.0 it will pass.