If you want more people to be able to help, please provide a reproducible example by sharing your all Rmd content. Thanks!
FAQ: How to Format R Markdown Source