I have created a new R-Markdown file. After that I installed the packages needed and I use the library command to call them. I can see the table nice and clean in my RMD file but I can't knit it. I attached pictures of the command in R and the Data I am using.
knitr::opts_chunk$set(echo = TRUE)
library(stargazer)
library(jtools)
library(boot)
library(sandwich)
library(lmtest)
library(plyr)
library(psych)
library(ggplot2)
library(car)
library(mosaic)
library(vtable)
library(tidyverse)
library(pastecs)
library(tinytex)
library(huxtable)
This is the error I get in my Console:
! LaTeX Error: File `siunitx.sty' not found.
! Emergency stop.
<read *>
Error: LaTeX failed to compile Final-Project.tex. See The R package tinytex - Helper Functions to Manage TinyTeX, and Compile LaTeX Documents - Yihui Xie | 谢益辉 for debugging tips. See Final-Project.log for more info.
Execution halted