Welcome to community.rstudio.com !
I'm beginner in Rstudio IDE.
It's been several weeks now that I research how can I input metadata (to yaml front matter) in rmardown file which from r file or r script.
To resume, I made template.tex with my own pandoc variable then, in r script, I wrote some sqlQuery and in the end I use render("file.Rmd").
To finish my file.Rmd look likes :
template : main.tex
my_metadata1 : "
But Rstudio returns warnings :
[WARNING] Could not parse YAML metadata at line 29 column 1: :16:33: Unexpected '
Could not find data file templates\LaTex\main.tex
Error: pandoc document conversion failed with error 97
I try finding solutions but I haven't had the results what I want.