tidy version of rmd