This version of `:` throws an error if `from` is positive and `to` is zero, to make the error more obvious if you've used `1:length(x)` instead of [seq_along()]
shim_colon(from, to)
Passed on to [seq()]
# NOT RUN { x <- numeric() seq_along(x) lax(1:length(x)) # }
Run the code above in your browser using DataLab