I am wondering if any of you have suggestions on how to solve this problem.
I have this project I'm working on where I document a workflow from end to end. I start with data ingestion and end up producing some research artifacts like reports and models. The Quarto file has a lot of explaining where I solve the same problem in different ways.
What I would like to do is at the end grab specific code chunks from the Quarto file and turn them into a plain R script file. Can you think of a way to accomplish this?
I'd appreciate whatever suggestion you can send my way,