fix #40: discover dependencies in R Markdown documents