Currently every smoof function does a sanity check on the input via checkmate::assertNumeric(). While the checkmate implementation is very fast it slows down the overall evaluation process considerably if the function is called millions of times.
Add a logical package option smoof.do_input_sanity_checks that defaults to TRUE. If set to FALSE the sanity checks are deactivated.
Currently every smoof function does a sanity check on the input via
checkmate::assertNumeric()
. While the checkmate implementation is very fast it slows down the overall evaluation process considerably if the function is called millions of times.Add a logical package option
smoof.do_input_sanity_checks
that defaults toTRUE
. If set toFALSE
the sanity checks are deactivated.