# NOT RUN {
library(nprcgenekeepr)
withinIntegerRange()
withinIntegerRange( , 0, 10)
withinIntegerRange(NA, 0, 10, na = "max")
withinIntegerRange( , 0, 10, na = "max") # no argument is not NA
withinIntegerRange(LETTERS, 0, 10)
withinIntegerRange(2.6, 1, 5)
withinIntegerRange(2.6, 0, 2)
withinIntegerRange(c(0, 2.6, -1), 0, 2)
withinIntegerRange(c(0, 2.6, -1, NA), 0, 2)
withinIntegerRange(c(0, 2.6, -1, NA), 0, 2, na = "max")
withinIntegerRange(c(0, 2.6, -1, NA), 0, 2, na = "min")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab