This is related to an existing post. Since I'm a beginner and cannot add comment, I'm asking a question and hope someone can link this to the relevant post.
I want to not execute certain chunks based on a parameter limit
(TRUE or FALSE). Both @eipi10 and @xitrium's solutions work in not creating the output for the commented chunks, but the render actually still executes the commented chunks, which in my case will lead to error (due to only a subset of data is used based on another parameter and some analysis will run into missing data issue) and stop the run. Instead of using many tryCatch
, I want to specify an entire block of chunks not be executed. How to achieve it?