update rmarkdown version checking