
Last chance! 50% off unlimited learning
Sale ends in
Validate a window argument. It must be a list of two elements (window start and window end), both must be integerish and window start must be lower or equal than window end.
validateWindowArgument(window, snakeCase = TRUE, call = parent.frame())
time window
time window
return default window name in snake case if TRUE
A call argument to pass to cli functions.
validateWindowArgument(list(c(0, 15), c(-Inf, Inf)))
validateWindowArgument(list(c(0, 15), c(-Inf, Inf)), snakeCase = FALSE)
Run the code above in your browser using DataLab