extension to Rmd for report generation