How about `(minimum(r), maximum(r))`?