WIP: compile rmd all the way through