R package to help converting latex files written with sweave of knittr, and containing embedded chunks of R code, into R markdown files, for HTML export