Skip to content
Prev 55724 / 63424 Next

ROBUSTNESS: x || y and x && y to give warning/error if length(x) != 1 or length(y) != 1

On Thu, Aug 30, 2018 at 5:58 PM Martin Maechler <maechler at stat.math.ethz.ch>
wrote:
I agree. I wouldn't know who would count on the automatic selection of the
first value, but better safe than sorry.
That was my idea as well after going through the source code. I didn't want
to state it as I don't know enough of the code base and couldn't see if
there were complications I missed. Thank you for confirming!

Cheers
Joris

Thread (15 messages)

Henrik Bengtsson ROBUSTNESS: x || y and x && y to give warning/error if length(x) != 1 or length(y) != 1 Aug 28 Emil Bode ROBUSTNESS: x || y and x && y to give warning/error if length(x) != 1 or length(y) != 1 Aug 30 Joris Meys ROBUSTNESS: x || y and x && y to give warning/error if length(x) != 1 or length(y) != 1 Aug 30 Tóth Dénes ROBUSTNESS: x || y and x && y to give warning/error if length(x) != 1 or length(y) != 1 Aug 30 Tóth Dénes ROBUSTNESS: x || y and x && y to give warning/error if length(x) != 1 or length(y) != 1 Aug 30 Joris Meys ROBUSTNESS: x || y and x && y to give warning/error if length(x) != 1 or length(y) != 1 Aug 30 Emil Bode ROBUSTNESS: x || y and x && y to give warning/error if length(x) != 1 or length(y) != 1 Aug 30 Hadley Wickham ROBUSTNESS: x || y and x && y to give warning/error if length(x) != 1 or length(y) != 1 Aug 30 William Dunlap ROBUSTNESS: x || y and x && y to give warning/error if length(x) != 1 or length(y) != 1 Aug 30 Martin Maechler ROBUSTNESS: x || y and x && y to give warning/error if length(x) != 1 or length(y) != 1 Aug 30 Rui Barradas ROBUSTNESS: x || y and x && y to give warning/error if length(x) != 1 or length(y) != 1 Aug 30 Joris Meys ROBUSTNESS: x || y and x && y to give warning/error if length(x) != 1 or length(y) != 1 Aug 30 Hadley Wickham ROBUSTNESS: x || y and x && y to give warning/error if length(x) != 1 or length(y) != 1 Aug 30 Emil Bode ROBUSTNESS: x || y and x && y to give warning/error if length(x) != 1 or length(y) != 1 Aug 31 Henrik Bengtsson ROBUSTNESS: x || y and x && y to give warning/error if length(x) != 1 or length(y) != 1 Aug 31