TIL R has its own version of call/cc in its standard library:
https://stat.ethz.ch/R-manual/R-devel/library/base/html/callCC.html
Surprised I didn't know this sooner! I feel like you could simplify a lot of complex data pipelines by using continuations well.