Identify Positive Integer Values
check_int.RdInternal helper function to check if a value is a positive whole number (including zero).
Examples
if (FALSE) { # \dontrun{
if (interactive()) {
check_int(5) # TRUE
check_int(0) # TRUE
check_int(-3) # FALSE
check_int(4.5) # FALSE
check_int("ABC") # FALSE
}
} # }