Completed the R markdown file based on template file and generated markdown file and html file.