accept R scripts as input to render (convert to Rmd using knitr::spin)