checkmate
checkmate copied to clipboard
assertString(na.ok = TRUE) does not check whether NA is a character-type
checkmate::assertString(NA_real_, na.ok = TRUE)
there is no mistake - but there should be
checkmate::assertString()
and family are missing the typed.missing
parameter that checkmate::assertNumeric()
and family offer since https://github.com/mllg/checkmate/pull/199. Would be nice if typed.missing
could be added to all relevant checkmate functions.