Incorporating functions.R into markdown file