Skip to content
Prev 54031 / 63424 Next

Possible repeat{} / break function bug in R 3.4.1

I don't think that's a bug. source() uses eval(), and eval() creates a
new function-like context frame. In a way expecting `break` to work
inside source() is like expecting `break` to cross stack frames:

    my_break <- function() break
    repeat(my_break())

Lionel