Closed mb706 closed 4 years ago
Even more worrisome example:
assertInteger(data.table::data.table()) # this passes
assertInteger(data.table::data.table()) # this passes
This is a clear bug and already fixed as part of #199 .
With #199, you can now set typed.missing = TRUE
to trigger a type check on empty vectors.
I want all the following to trigger, but they currently don't.
Maybe enabling this will break some other code somewhere so this behaviour could be parameterized I guess (or maybe allow these whenever
null.ok
isTRUE
?).