I get an error when trying to create a pdf that has a booktabs table in it. If I delete the table code, the pdf is created without a problem.
booktabs
RStudio