Hello all,
I am building html documents using rmarkdown.
I render those documents by running rmarkdown::render(input, output_file, params), I have the following problem when I want to debug. I can set manually a browser() breakpoint in the Rmd document and it stops fine. However I need to run sink() each time to get command line to "print" instructions anymore.
I'd like to use options(error=recover) but because on the above mentioned problem I cannot even select the frame I want to recover to.
Is there a way to avoid having to do sink() all the time ?
Is there an advised way of debuging rmarkdown documents ?
I am not using Rstudio (I work in vim with the nvim-R plugin)
Regards