`stopifnot(is.integer(l1), is.integer(l2) | is.numeric(l2))` This line doens't work as hoped. ``` > c(2, 9, 10, 11) %>% is.integer [1] FALSE > c(2:11) %>% is.integer [1] TRUE ``` So it counts `c(2, 9)` as not an integer.
stopifnot(is.integer(l1), is.integer(l2) | is.numeric(l2))This line doens't work as hoped.
So it counts
c(2, 9)as not an integer.