Examples for 'checkmate::checkDouble'


Check that an argument is a vector of type double

Aliases: checkDouble check_double assertDouble assert_double testDouble test_double expect_double

Keywords:

### ** Examples

testDouble(1)
[1] TRUE
testDouble(1L)
[1] FALSE
testDouble(1, min.len = 1, lower = 0)
[1] TRUE

[Package checkmate version 2.3.2 Index]