2 ms·
There are way worse things you can do than that! e.g. `(` <- function(x) { if (is.numeric(x) && runif(1) < 0.1) { x * 1.1 } else { x } } ;)
by hadley 12y ago
There are way worse things you can do than that! e.g.
`(` <- function(x) {
if (is.numeric(x) && runif(1) < 0.1) {
x * 1.1
} else {
x
}
}
;)
- a_bonobo 12y agoThat is beautiful, thank you very much! That's the kind of "bug" people don't even notice.