There is an error when generating LaTeX table in shinystan. I've run the model with brms, but this happens when also converting brms code and data to rstan:
library(brms)
library(rstan)
library(shinystan)
fit <- brm(
bf(mpg ~ 1 + (1 | cyl) + hp + wt, decomp = "QR"),
data = mtcars,
family = gaussian
)
code <- stancode(fit)
dat <- standata(fit)
fit2 <- stan(model_code = code, data = dat)
launch_shinystan(fit2) # or `brmsfit` fit
The error only happens when I select Quantile: 97.5%, see pics below:

