AstraZeneca/qscheck

is_logical_value not consistent with allow_na, allow_null

Opened this issue · 0 comments

In the current implementation, is_logical_value returns TRUE even if we pass is_logical_value(NA).

is.logical(NA)
[1] TRUE
length(NA)
[1] 1

Need to add the allow_na and allow_null flags.