Pandoc in the current version of RStudio does not allow for setting package options to xcolor and this has made it incompatible with the LaTeX generated by this package. This provides a known working template.
latex_template()
filename of LaTeX template
An example header would look like the following:
--- title: "A Document Full of Beautiful Tables" output: pdf_document: "`r tangram::latex_template()`" ---