Can you be more precise on what you want to do ? I am not sure to follow.
I need to compile multiple rmakrdown outputs from my R project
- Do you have those Rmarkdown writtent ?
- Do you want to generate multiple report from one template with modified content depending on some variables ?
I could write program converting Rmarkdown text to required format
- Why do you want to convert Rmarkdown to test ?
From some guess I am doing on your use case, maybe parametrized report is what you are looking for: https://bookdown.org/yihui/rmarkdown/parameterized-reports.html
Did you try that already ?
You can also use Rmd template to fill with a templating framework (like whisker or brew) to generate a Rmd file content from R code.
Please precise your work case if I am not in the right place.