title: LaTeX Error: Option clash for package xcolor on CRAN Debian builds
body: <p>Just a quick preface, I have looked into all the other stackoverflow comments I can find related to this error and cannot still correct or identify my issue based on existing posts.</p>
  
  <p>I am currently having an issue getting past a warning that's occurring on linux based builds for my vignette.  The warning is: </p>
  
  <blockquote>
    <p>LaTeX Error: Option clash for package xcolor.</p>
  </blockquote>
  
  <p>The check results are here:
  <a href="https://win-builder.r-project.org/incoming_pretest/DEVis_1.0.1_20181220_164555/Debian/00check.log" rel="nofollow noreferrer">https://win-builder.r-project.org/incoming_pretest/DEVis_1.0.1_20181220_164555/Debian/00check.log</a></p>
  
  <p>Windows and OS X builds work fine, but I don't have access to a debian machine that I can reproduce this on.  I currently cannot reproduce this issue on my side, and travis-ci checks do not seem to produce this warning for linux on ubuntu.  I can only see it currently when submitting an update to my package and failing the <a href="/questions/tagged/cran" class="post-tag" title="show questions tagged &#39;cran&#39;" rel="tag">cran</a> auto-checks.  </p>
  
  <p>I have recently changed from PDF vignette to html-based, and am not sure why <a href="/questions/tagged/latex" class="post-tag" title="show questions tagged &#39;latex&#39;" rel="tag">latex</a> packages would even be loading in this case.  I have attempted to correct for it based on <a href="https://github.com/haozhu233/kableExtra/issues/274" rel="nofollow noreferrer">this post</a>, which claims the issue is a conflict between kableExtra and xcolor.  </p>
  
  <p>Some relevant sections of code from the vignette might include:</p>
  
  <pre><code>vignette: |
    %\VignetteIndexEntry{DEVis} 
    %\usepackage[utf8]{inputenc} 
    %\usepackage[table]{xcolor}
    %\VignetteEngine{knitr::knitr}
  ---
  
  
  ```{r loadData, echo = F, eval = TRUE}
  #load("../data/exampleData.Rda")
  knitr::opts_knit$set(root.dir ='../vignettes/')`
  knitr::opts_chunk$set(fig.path='figure/graphics-', 
               cache.path='cache/graphics-', 
               fig.align='center',
               external=TRUE,
               echo=TRUE,
               warning=FALSE,
               fig.pos='H'
              )
  a4width&lt;- 8.3
  a4height&lt;- 11.7
  
  library(kableExtra)
  library(rmarkdown)
  library(knitr)
  options(knitr.table.format = "html") 
  options(kableExtra.latex.load_packages = FALSE)
  </code></pre>
  
  <p>The full package code can be found here: <a href="https://github.com/price0416/DEvis" rel="nofollow noreferrer">https://github.com/price0416/DEvis</a></p>
  
  <p>I would appreciate any insight anyone can offer into this issue, as I cannot update my package until I get to the bottom of this!  Thanks very much in advance!</p>