yonicd/texPreview

File 'standalone.cls' not found.

dougwyu opened this issue · 4 comments

I'm trying to run texPreview along with equatiomatic

library(equatiomatic)
library(texPreview)
# texPreview::check_requirements()
# fit a basic multiple linear regression model
m <- lm(bill_length_mm ~ bill_depth_mm + flipper_length_mm, penguins)
extract_eq(m)
tex_preview(extract_eq(m))

and i get this error:

Screenshot 2020-11-22 at 12 03 55

I'm running 4.0.3 in RStudio 1.4.1043 in macOS 10.15.7 (Catalina)

no problem.

run this in your machine (you'll need sudo privliges)

https://github.com/yonicd/texPreview/blob/master/.github/workflows/R-mac.yml#L47

no. run that line of code in the terminal

> sudo tlmgr install standalone xcolor booktabs multirow amsmath listings setspace caption graphics tools psnfss varwidth colortbl epstopdf-pkg pgf