Closed j23414 closed 6 years ago
I probably should have chosen a different name for the example, "bad example", sounds wrong ...
[] is there anyway for number in mtabulate be linked to code line number? for debugging?
Oh, I really really want to do that, but it is actually a bit tricky. I tried and failed to implement that in the past. An alternative approach would be to reconstruct the code for the entire pipeline (rmonad
stores this) and then give the line number relative to this reconstruction. I can't quite do this yet, but it is on the TODO list.
It should be easy to link to line numbers in the original code. This is pretty standard stuff in compiled languages. But note that R generally can't do this (e.g. error messages in R do not link to lines in source code).